Manually sync Makefile.common

to unstick the repo-sync PR

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
This commit is contained in:
Matthias Rampke 2021-08-31 12:51:32 +02:00
parent 1f53a743c7
commit 42158f5cca
No known key found for this signature in database
GPG key ID: F9AFF7F67ACE10BA

View file

@ -201,7 +201,11 @@ endif
.PHONY: common-yamllint .PHONY: common-yamllint
common-yamllint: common-yamllint:
@echo ">> running yamllint on all YAML files in the repository" @echo ">> running yamllint on all YAML files in the repository"
ifeq (, $(shell which yamllint))
@echo "yamllint not installed so skipping"
else
yamllint . yamllint .
endif
# For backward-compatibility. # For backward-compatibility.
.PHONY: common-staticcheck .PHONY: common-staticcheck