aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTobias Schmidt <tobidt@gmail.com>2017-03-22 18:35:32 -0300
committerTobias Schmidt <tobidt@gmail.com>2017-03-22 22:02:21 -0300
commit31189c9507c3f710568adb0c4af19a491a86fb8e (patch)
treeb8d6088255a6c918e70abd8c3c3d1497bca9c735 /Makefile
parent6580c95305dd97499025bf3bcfc9a461173ffa54 (diff)
downloadprometheus_node_collector-31189c9507c3f710568adb0c4af19a491a86fb8e.tar.bz2
prometheus_node_collector-31189c9507c3f710568adb0c4af19a491a86fb8e.tar.xz
prometheus_node_collector-31189c9507c3f710568adb0c4af19a491a86fb8e.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8229102..4b6b034 100644
--- a/Makefile
+++ b/Makefile
@@ -84,3 +84,9 @@ $(GOPATH)/bin/staticcheck:
84 84
85 85
86.PHONY: all style format build test test-e2e vet tarball docker promu staticcheck 86.PHONY: all style format build test test-e2e vet tarball docker promu staticcheck
87
88# Declaring the binaries at their default locations as PHONY targets is a hack
89# to ensure the latest version is downloaded on every make execution.
90# If this is not desired, copy/symlink these binaries to a different path and
91# set the respective environment variables.
92.PHONY: $(GOPATH)/bin/promu $(GOPATH)/bin/staticcheck