forked from phenopackets/phenopacket-format
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (23 loc) · 943 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
26
27
28
29
30
31
32
all: test all_json
test:
echo passed
EXAMPLES=omim-example patient-example variant-example journal-example
all_json: all_json_l1
all_json_l1: $(patsubst %,examples/level-1/%-l1.json,$(EXAMPLES))
test_examples: test_examples_l1
test_examples_l1: $(patsubst %,examples/level-1/%-l1.report,$(EXAMPLES))
# ========================================
# update schema (warning, this overwrites)
# ========================================
JSON_SCHEMAS= phenopacket ontology-class
all_schemas: json_schemas proto_schemas
json_schemas:
cp ../phenopacket-reference-implementation/target/json/*.json schema/
proto_schemas:
cp ../phenopacket-reference-implementation/target/proto/*.proto schema/
#all_json_schemas: $(patsubst %, schema/%-schema.json,$(JSON_SCHEMAS))
#
#schema/%.json: ../phenopacket-reference-implementation/target/json/$*.json
# cp $< $@
#schema/%.proto: ../phenopacket-reference-implementation/target/proto/$*.proto
# cp $< $@