Skip to content

Commit 1559824

Browse files
committed
feat: publish JSON schema on golangci-lint.run
1 parent 9b52349 commit 1559824

File tree

10 files changed

+5346
-20
lines changed

10 files changed

+5346
-20
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ go.mod: FORCE
8888
go mod verify
8989
go.sum: go.mod
9090

91+
website_copy_jsonschema:
92+
cp -r ./jsonschema ./docs/static
93+
.PHONY: website_copy_jsonschema
94+
9195
website_expand_templates:
9296
go run ./scripts/website/expand_templates/
9397
.PHONY: website_expand_templates

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"gatsby-plugin-netlify": "^5.1.0"
5252
},
5353
"scripts": {
54-
"build": "make -C .. website_expand_templates && gatsby build",
54+
"build": "make -C .. website_expand_templates website_copy_jsonschema && gatsby build",
5555
"start": "gatsby develop",
5656
"serve": "gatsby serve",
5757
"clean": "gatsby clean"

0 commit comments

Comments
 (0)