Merge pull request #3461 from prometheus/superq/simplify_promu_fetch
Simplify Makefile promu fetch
This commit is contained in:
commit
de043c9593
5
Makefile
5
Makefile
|
@ -87,10 +87,7 @@ assets:
|
|||
|
||||
promu:
|
||||
@echo ">> fetching promu"
|
||||
@GOOS=$(shell uname -s | tr A-Z a-z) \
|
||||
GOARCH=$(subst x86_64,amd64,$(patsubst i%86,386,$(shell uname -m))) \
|
||||
GO="$(GO)" \
|
||||
$(GO) get -u github.com/prometheus/promu
|
||||
@GOOS= GOARCH= $(GO) get -u github.com/prometheus/promu
|
||||
|
||||
$(FIRST_GOPATH)/bin/staticcheck:
|
||||
@GOOS= GOARCH= $(GO) get -u honnef.co/go/tools/cmd/staticcheck
|
||||
|
|
Loading…
Reference in New Issue