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:
parent
332c9c2229
commit
33db832087
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue