From 31189c9507c3f710568adb0c4af19a491a86fb8e Mon Sep 17 00:00:00 2001 From: Tobias Schmidt Date: Wed, 22 Mar 2017 18:35:32 -0300 Subject: 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 --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8229102..4b6b034 100644 --- a/Makefile +++ b/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 -- cgit v1.2.3