Skip to content
Snippets Groups Projects
Commit 2968486618a3 authored by Axel Prel's avatar Axel Prel
Browse files

Makefile: improvements

parent 4c1e916485df
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
$(GOLANGCI_LINT_BIN) run --fix $(GOLANGCI_LINT_ARGS) $(GOLANGCI_LINT_BIN) run --fix $(GOLANGCI_LINT_ARGS)
.PHONY: govulncheck-fetch .PHONY: govulncheck-fetch
govulncheck-fetch: govulncheck-fetch: ## Fetches govulncheck
go install golang.org/x/vuln/cmd/govulncheck@latest go install golang.org/x/vuln/cmd/govulncheck@latest
.PHONY: vulncheck .PHONY: vulncheck
...@@ -100,6 +100,6 @@ ...@@ -100,6 +100,6 @@
go install golang.org/x/vuln/cmd/govulncheck@latest go install golang.org/x/vuln/cmd/govulncheck@latest
.PHONY: vulncheck .PHONY: vulncheck
vulncheck: govulncheck-fetch vulncheck: govulncheck-fetch ## Run vulncheck
govulncheck ./... govulncheck ./...
...@@ -104,5 +104,9 @@ ...@@ -104,5 +104,9 @@
govulncheck ./... govulncheck ./...
.PHONY: vvulncheck
vvulncheck: govulncheck-fetch ## Run vulncheck in verbose
govulncheck -show verbose ./...
.PHONY: test .PHONY: test
test: ## Run the tests test: ## Run the tests
go test ./... go test ./...
...@@ -116,7 +120,7 @@ ...@@ -116,7 +120,7 @@
$(GOBUILD) -o build/rednerd ./cmd/rednerd $(GOBUILD) -o build/rednerd ./cmd/rednerd
.PHONY: clean-build .PHONY: clean-build
clean-build: clean-build: ## Removes the rednerd binary
rm -f build/rednerd rm -f build/rednerd
.PHONY: build .PHONY: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment