From 90469399d761581995280c8c6bdfda416656a71a Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Mon, 9 Sep 2019 11:19:57 +0300 Subject: [PATCH] Makefile: declare our targets as PHONY As they are. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 65d33e2eb..f37bf24e4 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,11 @@ REPO ?= "$(shell go list -m)" VERSION ?= "$(shell git describe --tags 2>/dev/null | sed 's/^v//')" BUILD_FLAGS = "-X $(REPO)/config.Version=$(VERSION)" +# All of the targets are phony here because we don't really use make dependency +# tracking for files +.PHONY: build deps image check-version clean-cluster push-tag push-to-registry \ + run run-cluster test vet lint fmt cover + build: deps @echo "=> Building binary" @set -x \