News for hackers. Stuff that matters.
Re:Golang: Don't be afraid of makefiles by kasey_junk on Wednesday September 20, 2017 @02:52PM (#15297032)
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 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.

There are no comments on this comment yet.