Simplify Makefile promu fetch

Closes: https://github.com/prometheus/prometheus/issues/3460
pull/3461/head
Ben Kochie 8 years ago
parent 3cc01a3088
commit 8bfbb4e733
  1. 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…
Cancel
Save