1
0
mirror of https://github.com/opencontainers/runtime-spec.git synced 2026-02-05 18:45:18 +01:00

Merge pull request #1084 from Iceber/schema-golang-1.16

schema: make with golang 1.16
This commit is contained in:
Vincent Batts
2022-04-20 10:59:45 -04:00
committed by GitHub
2 changed files with 3 additions and 5 deletions

View File

@@ -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); \

View File

@@ -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: