diff --git a/Makefile b/Makefile index c04d875..9ff8a1c 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,11 @@ all: test build $(TEMPDIR): mkdir -p $(TEMPDIR) +.PHONY: bootstrap-go +bootstrap-go: + $(call title,Boostrapping dependencies) + go mod download + .PHONY: bootstrap-tools bootstrap-tools: $(TEMPDIR) $(RESULTSDIR) $(call title,Boostrapping tools) @@ -41,6 +46,9 @@ bootstrap-tools: $(TEMPDIR) $(RESULTSDIR) GOBIN="$(realpath $(TEMPDIR))" go install github.com/rinchsan/gosimports/cmd/gosimports@$(GOSIMPORTS_VERSION) GOBIN="$(realpath $(TEMPDIR))" go install github.com/goreleaser/goreleaser@$(GORELEASER_VERSION) +.PHONY: bootstrap +bootstrap: bootstrap-go bootstrap-tools ## Download and install all go dependencies (+ prep tooling in the ./tmp dir) + .PHONY: static-analysis static-analysis: lint # Placeholder for future static analysis checks (this make target is used by CI)