File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,6 @@ RMRF ?= rm -rf
1313SCHEMAS = $(shell find schemas/ -type f -name '* .json')
1414TESTS = $(shell find test/ -type f -name '* .json')
1515
16- # TODO: Add a version property to `jsonschema.json`
17- VERSION = $(shell tr -d '\n\r' < VERSION)
18-
1916include generated.mk
2017
2118# TODO: Make `jsonschema fmt` automatically detect test files
4643
4744# TODO: Add a `jsonschema pkg` command instead
4845.PHONY : dist
46+ VERSION = $(shell jq --raw-output '.["x-version"]' jsonschema.json)
4947dist :
5048 $(RMRF ) $@
5149 $(MKDIRP ) $@
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33 "description" : " A growing collection of hand-crafted high-quality schemas by Sourcemeta" ,
4455 "github" : " sourcemeta/std" ,
6- "path" : " ./schemas"
6+ "path" : " ./schemas" ,
7+ "x-version" : " 0.2.0"
78}
You can’t perform that action at this time.
0 commit comments