mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 03:41:34 +00:00
Makefile: declare our targets as PHONY
As they are.
This commit is contained in:
parent
8de080f6ec
commit
90469399d7
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -7,6 +7,11 @@ REPO ?= "$(shell go list -m)"
|
||||||
VERSION ?= "$(shell git describe --tags 2>/dev/null | sed 's/^v//')"
|
VERSION ?= "$(shell git describe --tags 2>/dev/null | sed 's/^v//')"
|
||||||
BUILD_FLAGS = "-X $(REPO)/config.Version=$(VERSION)"
|
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
|
build: deps
|
||||||
@echo "=> Building binary"
|
@echo "=> Building binary"
|
||||||
@set -x \
|
@set -x \
|
||||||
|
|
Loading…
Reference in a new issue