Commit graph

8 commits

Author SHA1 Message Date
Dominik Honnef
2bb87e4e07 build-style/go: don't set GOBIN
Go 1.5 doesn't permit our use of GOBIN anymore, breaking
cross-compilation (for details, see
https://github.com/golang/go/issues/9769)

In retrospect, I'm not sure why we set GOBIN in the first place;
GOPATH/bin should suffice.

Closes #2337
2015-08-22 20:58:24 +02:00
Dominik Honnef
504831f121 build-style/go: install cross-built binaries properly 2015-06-12 13:21:32 +02:00
Dominik Honnef
3b617119c7 build-style/go: support building multiple packages 2015-05-04 13:40:44 +02:00
Dominik Honnef
382449cb6e build-style/go: support building subdirectories 2015-04-17 18:27:08 +02:00
Dominik Honnef
a62f407007 set Go env vars in environment
This way, a template can overwrite do_build but still have good defaults
for GOPATH, GOARCH and GOARM.
2015-02-21 14:49:02 +01:00
Dominik Honnef
92c77a10ec create GOPATH in wrksrc 2015-02-21 14:49:02 +01:00
Dominik Honnef
bd75088422 rename import_path to go_import_path 2015-02-21 14:49:02 +01:00
Dominik Honnef
77e8751a93 New build_style: go 2015-02-21 14:49:02 +01:00