-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
26 lines (17 loc) · 865 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
test: Manifests ShExTests
Manifests: schemas/manifest.jsonld validation/manifest.jsonld negativeSyntax/manifest.jsonld negativeStructure/manifest.jsonld
schemas/manifest.jsonld: schemas/manifest.ttl
cd schemas && make manifest.jsonld
validation/manifest.jsonld: validation/manifest.ttl
cd validation && make manifest.jsonld
negativeSyntax/manifest.jsonld: negativeSyntax/manifest.ttl
cd negativeSyntax && make manifest.jsonld
negativeStructure/manifest.jsonld: negativeStructure/manifest.ttl
cd negativeStructure && make manifest.jsonld
ShExTests: ShExJTests ShExVTests
ShExJTests: doc/ShExJ.jsg
(ls schemas/*.json | grep -vE '(coverage|representationTests)\.json' | xargs \
`npm bin`/json-grammar doc/ShExJ.jsg)
ShExVTests: doc/ShExV.jsg
`npm bin`/json-grammar doc/ShExV.jsg validation/*.val
`npm bin`/json-grammar doc/ShExV.jsg validation/*.err