Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2
Revision | fe5b8edf4bd908c0734712b171e7e0bc394d393f (tree) |
---|---|
Zeit | 2024-02-27 05:05:02 |
Autor | Albert Mietus < albert AT mietus DOT nl > |
Commiter | Albert Mietus < albert AT mietus DOT nl > |
Added most makefiles-- some details on pyanalyse
@@ -1,5 +1,5 @@ | ||
1 | -clean: clean_caches | |
2 | -cleaner: clean clean_gendirs | |
1 | +clean: ; #Nothing | |
2 | +cleaner: clean clean_caches clean_gendirs | |
3 | 3 | cleanest veryclean: cleaner clean_generated |
4 | 4 | |
5 | 5 | clean_caches: |
@@ -3,14 +3,12 @@ | ||
3 | 3 | PYREVERSE_OPTIONS = -k -A |
4 | 4 | PYREVERSE_OPTIONS = -A |
5 | 5 | |
6 | -# Default project/compinets name (dirs & subdirs) --overrule in Local Makefile | |
7 | -PYREVERSE_PRJS ?= castle | |
8 | 6 | |
9 | -pyanalyse pyreverse: ${PYREVERSEd} | |
10 | - for P in ${PYREVERSE_PRJS}; do \ | |
7 | +pyanalyse pyreverse: ${PYREVERSE_dir} | |
8 | + for P in ${PYREVERSE_PKGS}; do \ | |
11 | 9 | echo "PYANALYSE::" $$P "...";\ |
12 | - pyreverse -d ${PYREVERSE_dir} -o ${PYREVERSE_FORMAT} ${PYREVERSE_OPTIONS} -p $$P-noModules -mn --colorized --max-color-depth=42 $$P >>/dev/null;\ | |
13 | - pyreverse -d ${PYREVERSE_dir} -o ${PYREVERSE_FORMAT} ${PYREVERSE_OPTIONS} -p $$P-Modules -my --colorized --max-color-depth=42 $$P >>/dev/null;\ | |
10 | + pyreverse -d ${PYREVERSE_dir} -o ${PYREVERSE_FORMAT} ${PYREVERSE_OPTIONS} -p $$P-noModules -mn --colorized --max-color-depth=42 $$P ;\ | |
11 | + pyreverse -d ${PYREVERSE_dir} -o ${PYREVERSE_FORMAT} ${PYREVERSE_OPTIONS} -p $$P-Modules -my --colorized --max-color-depth=42 $$P ;\ | |
14 | 12 | done |
15 | 13 | @echo ".. done. Result; see: ./${PYREVERSE_dir}" |
16 | 14 |
@@ -1,7 +1,7 @@ | ||
1 | 1 | default: all |
2 | 2 | |
3 | -TOPd=../../ | |
4 | -include ${TOPd}Mk/comp.mk | |
3 | +# XXX read from ./setup.py ?? | |
4 | +PYREVERSE_PKGS = castle.aigr | |
5 | 5 | |
6 | 6 | LAST = \ |
7 | 7 | pytst/test_3_namespaces.py \ |
@@ -11,3 +11,6 @@ | ||
11 | 11 | TODO = \ |
12 | 12 | pytst/test_0_AIGR.py \ |
13 | 13 | # |
14 | + | |
15 | +TOPd=../../ | |
16 | +include ${TOPd}Mk/comp.mk |
@@ -1,7 +1,7 @@ | ||
1 | 1 | default: all |
2 | 2 | |
3 | -TOPd=../../ | |
4 | -include ${TOPd}Mk/comp.mk | |
3 | +# XXX read from ./setup.py ?? | |
4 | +PYREVERSE_PKGS = castle.writers.RPy | |
5 | 5 | |
6 | 6 | LAST = \ |
7 | 7 | # |
@@ -12,3 +12,7 @@ | ||
12 | 12 | pytst/test_4_NameSpaces.py \ |
13 | 13 | pytst/test_99_SieveMoats.py \ |
14 | 14 | pytst/test_999.py \ |
15 | +# | |
16 | + | |
17 | +TOPd=../../ | |
18 | +include ${TOPd}Mk/comp.mk |
@@ -1,3 +1,5 @@ | ||
1 | 1 | pytest |
2 | 2 | coverage |
3 | 3 | mutmut |
4 | +mypy | |
5 | +pylint | |
\ No newline at end of file |