blob: 5941916a70d6c0dae21bf0d82317f65e69919438 (
plain)
1
2
3
4
5
6
7
8
9
|
YAML_FILES := $(wildcard ./*.yml)
YAML_REPORT := ./lint-yaml.txt
.PHONY: lint-yaml
lint-yaml: $(YAML_REPORT)
$(YAML_REPORT): $(YAML_FILES)
docker run --rm -v "${PWD}:/workdir" giantswarm/yamllint $?
touch $(YAML_REPORT)
|