File tree Expand file tree Collapse file tree 8 files changed +34
-1686
lines changed Expand file tree Collapse file tree 8 files changed +34
-1686
lines changed Original file line number Diff line number Diff line change 4949 @echo " * 'docs' - produce document in the $( OUTPUT_DIRNAME) directory"
5050 @echo " * 'fmt' - format the json with indentation"
5151 @echo " * 'validate-examples' - validate the examples in the specification markdown files"
52- @echo " * 'schema-fs' - regenerate the virtual schema http/FileSystem"
5352 @echo " * 'check-license' - check license headers in source files"
5453 @echo " * 'lint' - Execute the source code linter"
5554 @echo " * 'test' - Execute the unit tests"
7978header.html : .tool/genheader.go specs-go/version.go
8079 go run .tool/genheader.go > $@
8180
82- validate-examples : schema/fs .go
81+ validate-examples : schema/schema .go
8382 go test -run TestValidate ./schema
8483
85- schema/fs.go : $(wildcard schema/* .json) schema/gen.go
86- cd schema && printf " %s\n\n%s\n" " $$ (cat ../.header)" " $$ (go generate)" > fs.go
87-
88- schema-fs : schema/fs.go
89- @echo " generating schema fs"
90-
9184check-license :
9285 @echo " checking license headers"
9386 @./.tool/check-license
@@ -117,9 +110,6 @@ install.tools: $(TOOLS:%=.install.%)
117110.install.lint :
118111 go get github.com/golangci/golangci-lint/cmd/golangci-lint@latest
119112
120- .install.esc :
121- go get -u github.com/mjibson/esc
122-
123113.install.gitvalidation :
124114 go get -u github.com/vbatts/git-validation
125115
Original file line number Diff line number Diff line change 11module github.com/opencontainers/image-spec
22
3- go 1.11
3+ go 1.16
44
55require (
66 github.com/davecgh/go-spew v1.1.1 // indirect
7- github.com/golangci/golangci-lint v1.43.0 // indirect
8- github.com/kr/text v0.2.0 // indirect
9- github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
107 github.com/opencontainers/go-digest v1.0.0
118 github.com/pkg/errors v0.9.1
129 github.com/russross/blackfriday v1.6.0
1310 github.com/stretchr/testify v1.7.0 // indirect
1411 github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
1512 github.com/xeipuuv/gojsonschema v1.2.0
16- gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
1713 gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
1814)
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments