projects
/
blackbox_exporter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ebe850
)
Go 1.8 do not require env GOPATH to be set and make will fail if it isn't set.
author
Pontus Leitzler
<leitzler@users.noreply.github.com>
Thu, 27 Apr 2017 12:32:54 +0000
(14:32 +0200)
committer
GitHub
<noreply@github.com>
Thu, 27 Apr 2017 12:32:54 +0000
(14:32 +0200)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 10a6cbf513d14d88e5916c91fc545d03e6486bbb..e48243c6dfe6963bb9421cee3e586ab5760a38f9 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-12,7
+12,7
@@
# limitations under the License.
GO := GO15VENDOREXPERIMENT=1 go
-GOPATH := $(firstword $(subst :, ,$(GOPATH)))
+GOPATH := $(firstword $(subst :, ,$(
shell $(GO) env
GOPATH)))
PROMU ?= $(GOPATH)/bin/promu
pkgs = $(shell $(GO) list ./... | grep -v /vendor/)