mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-12 16:44:05 -08:00
GOOS= and GOARCH=
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
cc1b953394
commit
ea18ea66b1
|
@ -111,8 +111,7 @@ common-staticcheck: $(STATICCHECK)
|
|||
ifdef STATICCHECK
|
||||
GO111MODULE=off $(STATICCHECK) -ignore "$(STATICCHECK_IGNORE)" $(pkgs)
|
||||
else
|
||||
GO111MODULE=$(GO111MODULE) $(GO) list -m honnef.co/go/tools
|
||||
GO111MODULE=$(GO111MODULE) $(GO) run $(GOOPTS) honnef.co/go/tools/cmd/staticcheck -ignore "$(STATICCHECK_IGNORE)" -checks "SA*" $(pkgs)
|
||||
GOOS= GOARCH= GO111MODULE=$(GO111MODULE) $(GO) run $(GOOPTS) honnef.co/go/tools/cmd/staticcheck -ignore "$(STATICCHECK_IGNORE)" -checks "SA*" $(pkgs)
|
||||
endif
|
||||
|
||||
.PHONY: common-unused
|
||||
|
|
Loading…
Reference in a new issue