For small projects I tend to use write because that's what it feels like. For bigger things where there is a design element, I'll usually say designed and wrote X instead if I want emphasize its non-triviality.
I didn't think of it before but you're right building feels like implying more weight than it feels right. But also I concede this is quite subjective.