fix: update makefile indents to not always run which (#10126)
This commit is contained in:
parent
8710d2353e
commit
a439841015
24
Makefile
24
Makefile
|
|
@ -148,26 +148,26 @@ lint-install:
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint:
|
lint:
|
||||||
ifeq (, $(shell which golangci-lint))
|
ifeq (, $(shell which golangci-lint))
|
||||||
$(info golangci-lint can't be found, please run: make lint-install)
|
$(info golangci-lint can't be found, please run: make lint-install)
|
||||||
exit 1
|
exit 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
golangci-lint run
|
golangci-lint run
|
||||||
|
|
||||||
ifeq (, $(shell which markdownlint-cli))
|
ifeq (, $(shell which markdownlint))
|
||||||
$(info markdownlint-cli can't be found, please run: make lint-install)
|
$(info markdownlint can't be found, please run: make lint-install)
|
||||||
exit 1
|
exit 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
markdownlint-cli
|
markdownlint-cli
|
||||||
|
|
||||||
.PHONY: lint-branch
|
.PHONY: lint-branch
|
||||||
lint-branch:
|
lint-branch:
|
||||||
ifeq (, $(shell which golangci-lint))
|
ifeq (, $(shell which golangci-lint))
|
||||||
$(info golangci-lint can't be found, please run: make lint-install)
|
$(info golangci-lint can't be found, please run: make lint-install)
|
||||||
exit 1
|
exit 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
golangci-lint run --new-from-rev master
|
golangci-lint run --new-from-rev master
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue