cloudflare / hellogopher

Hellogopher: "just clone and make" your conventional Go project
MIT License
1.15k stars 59 forks source link

Set $GOBIN to current bin folder #8

Closed RichyHBM closed 7 years ago

RichyHBM commented 7 years ago

By setting GOBIN users can have a system wide location for installing "go get" based executable, e.g. glide, but having it makes this makefile install to GOBIN, so this change makes sure that GOBIN is set to the correct location when building from make.

Users will still be able to use go installed executables as long as they have added GOBIN to their path before running make

fixes #9

FiloSottile commented 7 years ago

Thanks! But setting it will break cross-compilation sub-folders. I'll make a fix by unsetting it instead.

RichyHBM commented 7 years ago

Unsetting works fine too, thanks!