# HG changeset patch # User Axel Prel <axel.prel@xcg-consulting.fr> # Date 1741610906 -3600 # Mon Mar 10 13:48:26 2025 +0100 # Node ID 2968486618a353ee105d017826a7851832d8a08d # Parent 4c1e916485dff1f6ba9b1f90a3625195ae840db5 Makefile: improvements diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -96,13 +96,17 @@ $(GOLANGCI_LINT_BIN) run --fix $(GOLANGCI_LINT_ARGS) .PHONY: govulncheck-fetch -govulncheck-fetch: +govulncheck-fetch: ## Fetches govulncheck go install golang.org/x/vuln/cmd/govulncheck@latest .PHONY: vulncheck -vulncheck: govulncheck-fetch +vulncheck: govulncheck-fetch ## Run vulncheck govulncheck ./... +.PHONY: vvulncheck +vvulncheck: govulncheck-fetch ## Run vulncheck in verbose + govulncheck -show verbose ./... + .PHONY: test test: ## Run the tests go test ./... @@ -116,7 +120,7 @@ $(GOBUILD) -o build/rednerd ./cmd/rednerd .PHONY: clean-build -clean-build: +clean-build: ## Removes the rednerd binary rm -f build/rednerd .PHONY: build