toxygen_wrapper/Makefile

30 lines
550 B
Makefile
Raw Normal View History

2024-02-02 03:14:37 +00:00
PREFIX=/usr/local
PYTHON=python3.sh
PIP=pip3.sh
2023-12-15 14:24:07 +00:00
prepare::
bash .pylint.sh
check::
2024-02-02 03:14:37 +00:00
PYTHONPATH=$${PWD}/src pyanalyze \
src/tox_wrapper/tox.py src/tox_wrapper/tests/tests_wrapper.py \
2023-12-15 14:24:07 +00:00
> .pyanal.out 2>&1
install::
2024-02-02 03:14:37 +00:00
$(PIP) install --target $PREFIX/lib/python3.11/site-packages --upgrade .
rsync::
bash .rsync.sh
2023-12-15 14:24:07 +00:00
2023-12-16 23:23:00 +00:00
help::
2024-02-02 03:14:37 +00:00
PYTHONPATH=$${PWD}/src \
$(PYTHON) src/tox_wrapper/tests/tests_wrapper.py --help
2023-12-16 23:23:00 +00:00
test::
2024-02-02 03:14:37 +00:00
PYTHONPATH=$${PWD}/src \
$(PYTHON) src/tox_wrapper/tests/tests_wrapper.py
2023-12-15 14:24:07 +00:00
clean::
2023-12-16 23:23:00 +00:00
rm -f .[a-z]* *~ */*~ */*/*~
2023-12-15 14:24:07 +00:00
rm -rf *.egg-info