Download promu and staticcheck every time by default

If this is not desired, copy/symlink these binaries to a different path and
set the respective environment variables. For example:

    ln -s "$(GOPATH)/bin/{promu,staticcheck}" /usr/local/bin/
    PROMU=/usr/local/bin/promu STATICCHECK=/usr/local/bin/staticcheck make
This commit is contained in:
Tobias Schmidt 2017-03-22 18:35:32 -03:00
parent 6580c95305
commit 31189c9507

View file

@ -84,3 +84,9 @@ $(GOPATH)/bin/staticcheck:
.PHONY: all style format build test test-e2e vet tarball docker promu staticcheck
# Declaring the binaries at their default locations as PHONY targets is a hack
# to ensure the latest version is downloaded on every make execution.
# If this is not desired, copy/symlink these binaries to a different path and
# set the respective environment variables.
.PHONY: $(GOPATH)/bin/promu $(GOPATH)/bin/staticcheck