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 e54040a + 3f30167 commit 2fde0ecCopy full SHA for 2fde0ec
schema/Makefile
@@ -15,8 +15,8 @@ fmt:
15
16
.PHONY: validate
17
validate: validate.go
18
- go get -d ./...
19
- go build ./validate.go
+ GO111MODULE=auto go get github.com/xeipuuv/gojsonschema
+ GO111MODULE=auto go build ./validate.go
20
21
test: validate $(TESTS)
22
for TYPE in $$(ls test); \
schema/README.md
@@ -23,10 +23,8 @@ There is also included a simple utility for facilitating validation.
23
To build it:
24
25
```bash
26
-export GOPATH=`mktemp -d`
27
-go get -d ./...
+go get github.com/xeipuuv/gojsonschema
28
go build ./validate.go
29
-rm -rf $GOPATH
30
```
31
32
Or you can just use make command to create the utility:
0 commit comments