mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-25 20:54:41 -08:00
Simplify Makefile promu fetch
Closes: https://github.com/prometheus/prometheus/issues/3460
This commit is contained in:
parent
3cc01a3088
commit
8bfbb4e733
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 a new issue