Skip to content

Commit 2fe6726

Browse files
committedDec 21, 2020
Move checkdata package to internal/project
This package is more closely related to the projects than the checks. The schema folder was left in place because it is an implementation of the checks, so most appropriate where it was.
1 parent 7a54ccf commit 2fe6726

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+41
-41
lines changed
 

‎.prettierignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.ionide/
66

77
# Test files
8-
/internal/check/checkdata/schema/testdata/input/invalid-schema.json
9-
/internal/check/checkdata/testdata/packageindexes/invalid-JSON/package_foo_index.json
8+
/internal/check/schema/testdata/input/invalid-schema.json
9+
/internal/project/checkdata/testdata/packageindexes/invalid-JSON/package_foo_index.json
1010
/internal/check/checkfunctions/testdata/packageindexes/invalid-JSON/package_foo_index.json
1111
/internal/check/checkfunctions/testdata/sketches/InvalidJSONMetadataFile/sketch.json

‎Taskfile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ tasks:
1717
desc: Generate Go code
1818
cmds:
1919
- go get -u "github.com/go-bindata/go-bindata/...@v3.1.1"
20-
- go-bindata -nocompress -nometadata -o "./internal/check/checkdata/schema/schemadata/bindata.go" --pkg schemadata --prefix "./etc/schemas/" "./etc/schemas/"
21-
- go-bindata -nocompress -nometadata -o "./internal/check/checkdata/schema/testdata/bindata.go" --pkg testdata --prefix "./internal/check/checkdata/schema/testdata/input/" "./internal/check/checkdata/schema/testdata/input/"
20+
- go-bindata -nocompress -nometadata -o "./internal/check/schema/schemadata/bindata.go" --pkg schemadata --prefix "./etc/schemas/" "./etc/schemas/"
21+
- go-bindata -nocompress -nometadata -o "./internal/check/schema/testdata/bindata.go" --pkg testdata --prefix "./internal/check/schema/testdata/input/" "./internal/check/schema/testdata/input/"
2222
- go get -u golang.org/x/tools/cmd/stringer@v0.0.0-20201211192254-72fbef54948b
2323
- go generate ./...
2424
- task: go:format

0 commit comments

Comments
 (0)