Skip to content

Commit daba39c

Browse files
authored
Merge pull request #750 from q384566678/schema-test
schema: modify Makefile
2 parents af9e4b3 + 8b8afaf commit daba39c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

schema/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11

2-
default: help
2+
default: validate
33

44
help:
5-
@echo "Usage: make <target>"
5+
@echo "Usage: make [target]"
66
@echo
77
@echo " * 'fmt' - format the json with indentation"
8+
@echo " * 'help' - show this help information"
89
@echo " * 'validate' - build the validation tool"
910

1011
fmt:
1112
for i in *.json ; do jq --indent 4 -M . "$${i}" > xx && cat xx > "$${i}" && rm xx ; done
1213

14+
.PHONY: validate
1315
validate: validate.go
1416
go get -d ./...
1517
go build ./validate.go

0 commit comments

Comments
 (0)