3 ms·
I did something similar for one of my projects (github.com/lunixbochs/usercorn) if you want another perspective. My primary goal was `make` would work out of th
by lunixbochs 10y ago
I did something similar for one of my projects (github.com/lunixbochs/usercorn) if you want another perspective. My primary goal was `make` would work out of the box in most environments (on OS X / Linux), even if you did not have Go installed at all.
This includes downloading the Go binaries for your platform, building three C libraries, fixing gopath, and automatically determining packages for `go get`.
https://github.com/lunixbochs/usercorn/blob/master/Makefile https://github.com/lunixbochs/usercorn/blob/master/Makefile