mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
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:
parent
6580c95305
commit
31189c9507
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue