We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df461c2 commit 594fd71Copy full SHA for 594fd71
Makefile.common
@@ -118,7 +118,7 @@ endif
118
%: common-% ;
119
120
.PHONY: common-all
121
-common-all: precheck style check_license lint unused build test
+common-all: precheck style check_license lint yamllint unused build test
122
123
.PHONY: common-style
124
common-style:
@@ -198,6 +198,15 @@ else
198
endif
199
200
201
+.PHONY: common-yamllint
202
+common-yamllint:
203
+ @echo ">> running yamllint on all YAML files in the repository"
204
+ifeq (, $(shell which yamllint))
205
+ @echo "yamllint not installed so skipping"
206
+else
207
+ yamllint .
208
+endif
209
+
210
# For backward-compatibility.
211
.PHONY: common-staticcheck
212
common-staticcheck: lint
0 commit comments