Skip to content

Commit

Permalink
support default GOPATH
Browse files Browse the repository at this point in the history
set GOPATH as an explicit Make variable instead of relying on the
environment variable so that contributors that use the default GOPATH
without setting the GOPATH environment variable can build the dev
target.
  • Loading branch information
bhcleek committed Jul 22, 2017
1 parent 0a05ce6 commit e7b0785
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ GITBRANCH:=$(shell git symbolic-ref --short HEAD 2>/dev/null)
GOFMT_FILES?=$$(find . -not -path "./vendor/*" -name "*.go")
GOOS=$(shell go env GOOS)
GOARCH=$(shell go env GOARCH)
GOPATH=$(shell go env GOPATH)

# Get the git commit
GIT_DIRTY=$(shell test -n "`git status --porcelain`" && echo "+CHANGES" || true)
Expand Down

0 comments on commit e7b0785

Please sign in to comment.