mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -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:
|
promu:
|
||||||
@echo ">> fetching promu"
|
@echo ">> fetching promu"
|
||||||
@GOOS=$(shell uname -s | tr A-Z a-z) \
|
@GOOS= GOARCH= $(GO) get -u github.com/prometheus/promu
|
||||||
GOARCH=$(subst x86_64,amd64,$(patsubst i%86,386,$(shell uname -m))) \
|
|
||||||
GO="$(GO)" \
|
|
||||||
$(GO) get -u github.com/prometheus/promu
|
|
||||||
|
|
||||||
$(FIRST_GOPATH)/bin/staticcheck:
|
$(FIRST_GOPATH)/bin/staticcheck:
|
||||||
@GOOS= GOARCH= $(GO) get -u honnef.co/go/tools/cmd/staticcheck
|
@GOOS= GOARCH= $(GO) get -u honnef.co/go/tools/cmd/staticcheck
|
||||||
|
|
Loading…
Reference in a new issue