mirror of
https://github.com/yweber/lodel2.git
synced 2025-10-26 09:39:01 +01:00
21 lines
412 B
Makefile
21 lines
412 B
Makefile
all: check doc pip
|
|
|
|
check:
|
|
python -m unittest -v
|
|
|
|
doc: cleandoc
|
|
doxygen
|
|
|
|
pip: cleanpycache
|
|
pip install --upgrade -r requirements.txt
|
|
|
|
.PHONY: check doc clean cleanpyc cleandoc cleanpycache
|
|
|
|
cleandoc:
|
|
-rm -Rv ./doc/
|
|
cleanpyc:
|
|
-find ./ |grep -E "\.pyc$$" |xargs rm -v 2>/dev/null
|
|
cleanpycache: cleanpyc
|
|
-find ./ -type d |grep '__pycache__' | xargs rmdir -v 2>/dev/null
|
|
|
|
clean: cleanpyc cleandoc cleanpycache
|