Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema: make with golang 1.16 #1084

Merged
merged 1 commit into from
Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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