Skip to content

Commit

Permalink
Merge pull request #1084 from Iceber/schema-golang-1.16
Browse files Browse the repository at this point in the history
schema: make with golang 1.16
  • Loading branch information
vbatts authored Apr 20, 2022
2 parents e54040a + 3f30167 commit 2fde0ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions schema/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ fmt:

.PHONY: validate
validate: validate.go
go get -d ./...
go build ./validate.go
GO111MODULE=auto go get github.com/xeipuuv/gojsonschema
GO111MODULE=auto go build ./validate.go

test: validate $(TESTS)
for TYPE in $$(ls test); \
Expand Down
4 changes: 1 addition & 3 deletions schema/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ There is also included a simple utility for facilitating validation.
To build it:

```bash
export GOPATH=`mktemp -d`
go get -d ./...
go get github.com/xeipuuv/gojsonschema
go build ./validate.go
rm -rf $GOPATH
```

Or you can just use make command to create the utility:
Expand Down

0 comments on commit 2fde0ec

Please sign in to comment.