diff --git a/Makefile b/Makefile index bd04e28ae..93f9d491d 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,18 @@ include hack/make/dep_mockgen.mk include hack/make/dep_shfmt.mk include hack/make/dep_tparse.mk +# Lazy-evaluated list of tools. +TOOLS = $(ENT) \ + $(GOA) \ + $(GOLANGCI_LINT) \ + $(GOMAJOR) \ + $(GOSEC) \ + $(GOTESTSUM) \ + $(MIGRATE) \ + $(MOCKGEN) \ + $(SHFMT) \ + $(TPARSE) + define NEWLINE @@ -48,6 +60,9 @@ TEST_IGNORED_PACKAGES := $(filter $(IGNORED_PACKAGES),$(PACKAGES)) export PATH:=$(GOBIN):$(PATH) +tools: # @HELP Install tools. +tools: $(TOOLS) + env: # @HELP Print Go env variables. env: go env