-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (19 loc) · 691 Bytes
/
Makefile
File metadata and controls
23 lines (19 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: help test demo clean
help:
@echo "Available targets:"
@echo " test - Run test_LabelStudioClient.py"
@echo " demo - Run demo_LabelStudioClient.py"
@echo " clean - Remove generated ZIP files and Python bytecode cache"
test:
python tests/test_LabelStudioClient.py
python tests/test_adapters.py
demo:
python demos/demo_LabelStudioClient.py
python demos/demo_get_started.py
clean:
rm -f test_yolo.zip test_coco.zip test_png.zip
rm -f smart_city_yolo.zip medical_seg_coco.zip
rm -f yolo_bboxes.zip coco_polygons.zip png_masks.zip
find . -type d -name __pycache__ -exec rm -rf {} +
find . -name '*.pyc' -delete
find . -type d -name .pytest_cache -exec rm -rf {} +