Skip to content

Commit

Permalink
Fix promu crossbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanErb committed Sep 1, 2017
1 parent 693d7ac commit f49a148
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .promu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ crossbuild:
- darwin/386
- linux/arm
- linux/arm64
- linux/ppc64
- linux/ppc64le
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ format:
@$(GO) fmt $(pkgs)

$(FIRST_GOPATH)/bin/promu promu:
@echo ">> fetching promu"
@GOOS=$(shell uname -s | tr A-Z a-z) \
GOARCH=$(subst x86_64,amd64,$(patsubst i%86,386,$(patsubst arm%,arm,$(shell uname -m)))) \
$(GO) install github.com/prometheus/promu
GOARCH=$(subst x86_64,amd64,$(patsubst i%86,386,$(shell uname -m))) \
$(GO) get -u github.com/prometheus/promu

$(FIRST_GOPATH)/bin/staticcheck:
@GOOS= GOARCH= $(GO) get -u honnef.co/go/tools/cmd/staticcheck
Expand Down

0 comments on commit f49a148

Please # to comment.