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 49
49
@echo " * 'docs' - produce document in the $( OUTPUT_DIRNAME) directory"
50
50
@echo " * 'fmt' - format the json with indentation"
51
51
@echo " * 'validate-examples' - validate the examples in the specification markdown files"
52
- @echo " * 'schema-fs' - regenerate the virtual schema http/FileSystem"
53
52
@echo " * 'check-license' - check license headers in source files"
54
53
@echo " * 'lint' - Execute the source code linter"
55
54
@echo " * 'test' - Execute the unit tests"
79
78
header.html : .tool/genheader.go specs-go/version.go
80
79
go run .tool/genheader.go > $@
81
80
82
- validate-examples : schema/fs .go
81
+ validate-examples : schema/schema .go
83
82
go test -run TestValidate ./schema
84
83
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
-
91
84
check-license :
92
85
@echo " checking license headers"
93
86
@./.tool/check-license
@@ -117,9 +110,6 @@ install.tools: $(TOOLS:%=.install.%)
117
110
.install.lint :
118
111
go get github.com/golangci/golangci-lint/cmd/golangci-lint@latest
119
112
120
- .install.esc :
121
- go get -u github.com/mjibson/esc
122
-
123
113
.install.gitvalidation :
124
114
go get -u github.com/vbatts/git-validation
125
115
Original file line number Diff line number Diff line change 1
1
module github.com/opencontainers/image-spec
2
2
3
- go 1.11
3
+ go 1.16
4
4
5
5
require (
6
6
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
10
7
github.com/opencontainers/go-digest v1.0.0
11
8
github.com/pkg/errors v0.9.1
12
9
github.com/russross/blackfriday v1.6.0
13
10
github.com/stretchr/testify v1.7.0 // indirect
14
11
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
15
12
github.com/xeipuuv/gojsonschema v1.2.0
16
- gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
17
13
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
18
14
)
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments