Skip to content

Commit 51ff80a

Browse files
authored
Merge pull request percona#82 from percona/PMM-7-merge-commit
PMM-7 merge commit
2 parents a852822 + 3ac970f commit 51ff80a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: Makefile.common

+9
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,15 @@ ifdef GOLANGCI_LINT
159159
$(GOLANGCI_LINT) run $(GOLANGCI_LINT_OPTS) $(pkgs)
160160
endif
161161

162+
.PHONY: common-yamllint
163+
common-yamllint:
164+
@echo ">> running yamllint on all YAML files in the repository"
165+
ifeq (, $(shell which yamllint))
166+
@echo "yamllint not installed so skipping"
167+
else
168+
yamllint .
169+
endif
170+
162171
# For backward-compatibility.
163172
.PHONY: common-staticcheck
164173
common-staticcheck: lint

0 commit comments

Comments
 (0)