diff --git a/schema/Makefile b/schema/Makefile index 3016fb889..5b639a00b 100644 --- a/schema/Makefile +++ b/schema/Makefile @@ -1,15 +1,17 @@ -default: help +default: validate help: - @echo "Usage: make " + @echo "Usage: make [target]" @echo @echo " * 'fmt' - format the json with indentation" + @echo " * 'help' - show this help information" @echo " * 'validate' - build the validation tool" fmt: for i in *.json ; do jq --indent 4 -M . "$${i}" > xx && cat xx > "$${i}" && rm xx ; done +.PHONY: validate validate: validate.go go get -d ./... go build ./validate.go