mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Point to golangi-lint install docs when not found on PATH
This commit is contained in:
parent
2e8acadde1
commit
b8a3344870
1 changed files with 1 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -1,9 +1,8 @@
|
|||
BIN="./bin"
|
||||
SRC=$(shell find . -name "*.go")
|
||||
GOPATH=$(shell go env GOPATH)
|
||||
|
||||
ifeq (, $(shell which golangci-lint))
|
||||
$(warning "could not find golangci-lint in PATH, run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.50.0")
|
||||
$(warning "could not find golangci-lint in PATH, see here for installation details: https://golangci-lint.run/usage/install/")
|
||||
endif
|
||||
|
||||
ifeq (, $(shell which richgo))
|
||||
|
|
Loading…
Reference in a new issue