4 ms·
We don't use makefiles for cascading builds like you would in C and as such a lot of the power of Makefiles is lost in the golang world. We do use them to spec
by kasey_junk 9y ago
We don't use makefiles for cascading builds like you would in C and as such a lot of the power of Makefiles is lost in the golang world.
We do use them to specify "simple" repetitive tasks in a uniform way, with some minimal amount of order defined (for instance making sure go get is called before go test, or our code for embedding version numbers into binaries for builds).
[edit] An example from one of our public repos https://github.com/MediaMath/grim/blob/master/Makefile https://github.com/MediaMath/grim/blob/master/Makefile the codebase was one of our first times writing go so we aren't terribly proud of it, but the Makefile is representative of the kinds of things we do in make.