Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2
修訂 | fb02ab15cc9ab05452fb7d27680edaa63c25f95d (tree) |
---|---|
時間 | 2021-12-09 22:20:12 |
作者 | Albert Mietus < albert AT mietus DOT nl > |
Commiter | Albert Mietus < albert AT mietus DOT nl > |
AST: Added local Makefile
@@ -0,0 +1,19 @@ | ||
1 | +default: tst | |
2 | + | |
3 | +all: tst demos | |
4 | + | |
5 | +DEMOS:=$(wildcard demo/*demo*.py) | |
6 | +demos: | |
7 | + for d in ${DEMOS}; do echo "*** $$d ***"; python $$d; done | |
8 | +tst: | |
9 | + (cd pytst/; pytest) | |
10 | +tst-s: | |
11 | + (cd pytst/; pytest -s) | |
12 | + | |
13 | + | |
14 | +clean: | |
15 | + rm -rf {.,castle}/{__pycache__,.pytest_cache}/ | |
16 | + rm -rf pytst/{.,*}/{__pycache__,.pytest_cache}/ | |
17 | + rm -f *.dot | |
18 | + rm -f pytst/*.dot | |
19 | + |