template / commit
`make clean` now removes file `dev-setup`, which was used to denote that the dev setup process has completed.
Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index af0747f..37bc82d 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ VERSION=$(shell git describe --tags) LDFLAGS=-ldflags "-w -s -X main.Version=${VERSION}" all: build test lint +all-clean: clean all dev-setup: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest @@ -19,6 +20,7 @@ prep: dev-setup clean: go clean go mod tidy + rm -f dev-setup build: prep go build ${LDFLAGS} -o ${BINARY} .