We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d19982 + aaf05c4 commit 9d3aef5Copy full SHA for 9d3aef5
schema/Makefile
@@ -11,5 +11,6 @@ fmt:
11
for i in *.json ; do jq --indent 4 -M . "$${i}" > xx && cat xx > "$${i}" && rm xx ; done
12
13
validate: validate.go
14
+ go get -d ./...
15
go build ./validate.go
16
schema/README.md
@@ -20,13 +20,19 @@ There is also included a simple utility for facilitating validation of a
20
21
```bash
22
export GOPATH=`mktemp -d`
23
-go get ./...
24
-go build .
+go get -d ./...
+go build ./validate.go
25
rm -rf $GOPATH
26
```
27
28
+Or you can just use make command to create the utility:
29
+
30
+```bash
31
+make validate
32
+```
33
34
Then use it like:
35
36
-./schema schema.json <yourpath>/config.json
37
+./validate schema.json <yourpath>/config.json
38
0 commit comments