Skip to content

Commit 75e936b

Browse files
committed
[FAB-9288] default gotools to $GOPATH/bin
Restores assumptions about GOPATH being set during build and pointing to s single location. Explicit tools target can be set by using the GOTOOLS_BINDIR variable at build time. make gotools GOTOOLS_BINDIR=$HOME/bin Change-Id: Id71b512d475cc23c12a501db94af25fff4c65a38 Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
1 parent c52d2d1 commit 75e936b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gotools.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
GOTOOLS = dep golint goimports protoc-gen-go ginkgo gocov gocov-xml misspell
77
BUILD_DIR ?= .build
88
GOTOOLS_GOPATH ?= $(BUILD_DIR)/gotools
9-
GOTOOLS_BINDIR ?= $(GOTOOLS_GOPATH)/bin
9+
GOTOOLS_BINDIR ?= $(GOPATH)/bin
1010

1111
# go tool->path mapping
1212
go.fqp.golint := github.com/golang/lint/golint

0 commit comments

Comments
 (0)