diff --git a/schema/Makefile b/schema/Makefile index b5a654c7d..0a0b04084 100644 --- a/schema/Makefile +++ b/schema/Makefile @@ -1,6 +1,8 @@ +.PHONY: default default: validate +.PHONY: help help: @echo "Usage: make [target]" @echo @@ -8,6 +10,7 @@ help: @echo " * 'help' - show this help information" @echo " * 'validate' - build the validation tool" +.PHONY: fmt fmt: for i in *.json ; do jq --indent 4 -M . "$${i}" > xx && cat xx > "$${i}" && rm xx ; done @@ -16,6 +19,6 @@ validate: validate.go go get -d ./... go build ./validate.go +.PHONY: clean clean: rm -f validate -