Browse Source

Only run if yamllint is installed

Signed-off-by: Levi Harrison <git@leviharrison.dev>
pull/8995/head
Levi Harrison 3 years ago
parent
commit
b7d2f4e189
No known key found for this signature in database
GPG Key ID: 23A7BDEAE860B57D
  1. 4
      Makefile.common

4
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

Loading…
Cancel
Save