fix: Revert unintented corruption of the Makefile from #10200. (#10203)

This commit is contained in:
Sven Rebhan 2021-12-02 15:07:18 +01:00 committed by GitHub
parent ea7b059549
commit 52c422af3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 11 deletions

View File

@ -150,18 +150,17 @@ lint-install:
.PHONY: lint .PHONY: lint
lint: lint:
ifeq (, $(shell which golangci-lint)) @which golangci-lint >/dev/null 2>&1 || { \
$(info golangci-lint can't be found, please run: make lint-install) echo "golangci-lint not found, please run: make lint-install"; \
exit 1 exit 1; \
endif }
golangci-lint run
golangci-lint run @which markdownlint >/dev/null 2>&1 || { \
echo "markdownlint not found, please run: make lint-install"; \
ifeq (, $(shell which markdownlint-cli)) exit 1; \
$(info markdownlint-cli can't be found, please run: make lint-install) }
exit 1 markdownlint .
endif
markdownlint-cli
.PHONY: lint-branch .PHONY: lint-branch
lint-branch: lint-branch: