-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (30 loc) · 1.01 KB
/
Makefile
File metadata and controls
35 lines (30 loc) · 1.01 KB
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
# disable all default rules
.SUFFIXES:
MAKEFLAGS+=-r
.PHONY: all tests clean
.DEFAULT: all
all: tests
clean:
@rm -rf output/*
tests:
python3 -m unittest discover
.PHONY: examples
examples:
@mkdir -p output/{ear,charm,unique,highquality,superior,set}
@echo "Generating [ear] items..."
@PYTHONPATH=. python3 examples/test_earitem.py
@echo "Generating [charm] items..."
@PYTHONPATH=. python3 examples/test_charm.py
@echo "Generating [unique] items..."
@PYTHONPATH=. python3 examples/test_uniqitem.py
@echo "Generating [high quality] items..."
@PYTHONPATH=. python3 examples/test_highquality_item.py
@echo "Generating [superior] items..."
@PYTHONPATH=. python3 examples/test_superior_item.py
@echo "Generating [set] items..."
@PYTHONPATH=. python3 examples/test_setitem.py
@PYTHONPATH=. python3 examples/test_set_aldurs.py
@PYTHONPATH=. python3 examples/test_set_sigon.py
@PYTHONPATH=. python3 examples/test_set_natalya.py
@PYTHONPATH=. python3 examples/test_set_trangouls.py
@echo "All items generated successfully!"