We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d948027 commit 6e81d03Copy full SHA for 6e81d03
Makefile
@@ -69,12 +69,12 @@ vet:
69
$(GO) vet ./...
70
71
lint:
72
- which golint || $(GO) install golang.org/x/lint/golint
+ which golint || $(GO) install golang.org/x/lint/golint@latest
73
$(GO) list ./... | grep -v /vendor/ | xargs -L1 golint -set_exit_status
74
75
staticcheck: .PHONY
76
rm -rf build/staticcheck
77
- which staticcheck || go install honnef.co/go/tools/cmd/staticcheck
+ which staticcheck || $(GO) install honnef.co/go/tools/cmd/staticcheck@latest
78
mkdir -p build/staticcheck
79
ln -s "$(GO)" build/staticcheck/go
80
PATH="$(PWD)/build/staticcheck:$(PATH)" staticcheck ./...
0 commit comments