Skip to content

Commit 8253931

Browse files
Update yamllint target to handle missing dist/chart
1 parent 9d93a04 commit 8253931

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ lint-config: golangci-lint ## Verify golangci-lint linter configuration
111111

112112
.PHONY: yamllint
113113
yamllint:
114-
@files=$$(find testdata -name '*.yaml' ! -path 'testdata/*/dist/*'); \
115-
docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data cytopia/yamllint:latest $$files -d "{extends: relaxed, rules: {line-length: {max: 120}}}" --no-warnings
116-
114+
@files=$$(find testdata -name '*.yaml' ! -path 'testdata/*/dist/chart/install.yaml'); \
115+
docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data cytopia/yamllint:latest $$files -d "{extends: relaxed, rules: {line-length: {max: 120}}}" --no-warnings
116+
117117
GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
118118
golangci-lint:
119119
@[ -f $(GOLANGCI_LINT) ] || { \

0 commit comments

Comments
 (0)