toxygen_wrapper/Makefile

30 lines
550 B
Makefile
Raw Normal View History

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