mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-21 17:55:30 +01:00
adjust golangci-lint installation hint (#17418)
Signed-off-by: yminer <yminer@vmware.com> update
This commit is contained in:
parent
548b27a0c6
commit
c9a61d37e3
3
Makefile
3
Makefile
@ -532,7 +532,8 @@ misspell:
|
||||
@echo checking misspell...
|
||||
@find . -type d \( -path ./src/vendor -o -path ./tests \) -prune -o -name '*.go' -print | xargs misspell -error
|
||||
|
||||
# go get -u github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2
|
||||
# golangci-lint binary installation or refer to https://golangci-lint.run/usage/install/#local-installation
|
||||
# curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2
|
||||
GOLANGCI_LINT := $(shell go env GOPATH)/bin/golangci-lint
|
||||
lint:
|
||||
@echo checking lint
|
||||
|
Loading…
Reference in New Issue
Block a user