1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

Print yaml file which is not formatted properly (#1414)

currently `make yamlfmt` does not print out which file has incorrect formatting
This commit is contained in:
Nikita Vaniasin 2023-09-29 13:53:26 +02:00 committed by GitHub
parent 332c9c2229
commit 33db832087
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -268,8 +268,8 @@ fmt:
.PHONY: yamlfmt .PHONY: yamlfmt
yamlfmt: yamlfmt:
@echo ">> Ensuring style of yaml files" @echo ">> Ensuring style of yaml files"
@$(GOPATH)/bin/yamlfmt -w $(YAMLS) @$(foreach YAML,$(YAMLS),echo "yamlfmt $(YAML):" && $(GOPATH)/bin/yamlfmt -w $(YAML) || exit 1; )
@$(GOPATH)/bin/yamlfmt -w $(YAMLS) @$(foreach YAML,$(YAMLS),echo "yamlfmt $(YAML):" && $(GOPATH)/bin/yamlfmt -w $(YAML) || exit 1; )
.PHONY: license .PHONY: license
license: license: