2 ms·
1. You need Go 2a. Type 'make'. It will build the binary and place it in bin/ 2b. Use the go tool chain directly to build. Does the same thing as 2a.
by jgrahamc 12y ago
1. You need Go
2a. Type 'make'. It will build the binary and place it in bin/
2b. Use the go tool chain directly to build. Does the same thing as 2a.
- NateDad 12y agowhy the makefile and src directory? Why not put the source in the root directory, so that go get github.com/jgrahamc/httpdiff would just work? The makefile doesn't even do anything useful, and just makes it so that poor windows folks can't build your code for no good reason.
- lclarkmichalek 12y agoYes, you have to do the archaic `go get github.com/jgrahamc/httpdiff/src/httpdiff`. Truly a travesty. While the makefile allows you to avoid the whole GOPATH nonsense, which gets a plus from me.
- jgrahamc 12y agoBecause... bad habits from larger projects.