forked from BrickSchema/Brick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (26 loc) · 831 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
33
34
35
.PHONY: format
Brick.ttl: bricksrc/*.py bricksrc/*.ttl bricksrc/definitions.csv generate_brick.py support/*.ttl
mkdir -p extensions
python tools/sort_definitions.py bricksrc/definitions.csv
python generate_brick.py
python handle_extensions.py
clean:
rm -r Brick.ttl Brick+extensions.ttl imports/ .ontoenv
format:
black generate_brick.py
black handle_extensions.py
black bricksrc/
black tests/
black tools/
test: Brick.ttl
pytest -s -vvvv -n auto tests
quantity-test: Brick.ttl
pytest -s -vvvv tests/test_quantities.py
inference-test: Brick.ttl
pytest -s -vvvv tests/test_inference.py
hierarchy-test: Brick.ttl
pytest -s -vvvv tests/test_hierarchy_inference.py
measures-test: Brick.ttl
pytest -s -vvvv tests/test_measures_inference.py
matches-test: Brick.ttl
pytest -s -vvvv tests/test_matching_classes.py