diff --git a/Makefile b/Makefile index e40dad505..db177a3a0 100644 --- a/Makefile +++ b/Makefile @@ -440,6 +440,8 @@ vet: check-all: fmt vet golangci-lint govulncheck +clean-checkers: remove-golangci-lint remove-govulncheck + test: go test ./lib/... ./app/... @@ -494,12 +496,18 @@ golangci-lint: install-golangci-lint install-golangci-lint: which golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.59.1 +remove-golangci-lint: + rm -rf `which golangci-lint` + govulncheck: install-govulncheck govulncheck ./... install-govulncheck: which govulncheck || go install golang.org/x/vuln/cmd/govulncheck@latest +remove-govulncheck: + rm -rf `which govulncheck` + install-wwhrd: which wwhrd || go install github.com/frapposelli/wwhrd@latest