From 42158f5ccaab1498ba521a9b40c779ee65b0d6f1 Mon Sep 17 00:00:00 2001 From: Matthias Rampke Date: Tue, 31 Aug 2021 12:51:32 +0200 Subject: [PATCH] Manually sync Makefile.common to unstick the repo-sync PR Signed-off-by: Matthias Rampke --- Makefile.common | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.common b/Makefile.common index bbdec8e..a1b1ca4 100644 --- a/Makefile.common +++ b/Makefile.common @@ -201,7 +201,11 @@ endif .PHONY: common-yamllint common-yamllint: @echo ">> running yamllint on all YAML files in the repository" +ifeq (, $(shell which yamllint)) + @echo "yamllint not installed so skipping" +else yamllint . +endif # For backward-compatibility. .PHONY: common-staticcheck