2024-01-15 12:09:20 +01:00
|
|
|
PREFIX=/usr/local
|
|
|
|
LOCAL_DOCTEST=${PREFIX}/bin/toxcore_run_doctest3.bash
|
|
|
|
DOCTEST=${LOCAL_DOCTEST}
|
|
|
|
MOD=exclude_badExits
|
|
|
|
|
|
|
|
|
|
|
|
check::
|
|
|
|
sh python3.sh -c "import ${MOD}"
|
|
|
|
|
|
|
|
lint::
|
|
|
|
sh .pylint.sh
|
|
|
|
|
|
|
|
install::
|
|
|
|
pip3.sh install --target ${PREFIX}/lib/python3.11/site-packages/ --upgrade .
|
|
|
|
|
|
|
|
rsync::
|
|
|
|
bash .rsync.sh
|
|
|
|
|
|
|
|
test:: doctest
|
|
|
|
doctest::
|
|
|
|
export PYTHONPATH=${PWD}/src/${MOD}
|
|
|
|
${DOCTEST} ${MOD}.txt
|
|
|
|
|
2024-01-16 15:54:24 +01:00
|
|
|
veryclean:: clean
|
|
|
|
rm -rf build dist
|
|
|
|
|
2024-01-15 12:09:20 +01:00
|
|
|
clean::
|
|
|
|
find * -name \*~ -delete
|