1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-22 07:01:46 +01:00
Toot-Mastodon-CLI-TUI-clien.../Makefile
2023-01-01 12:15:51 +01:00

26 lines
463 B
Makefile

.PHONY: clean publish test docs
dist :
python setup.py sdist --formats=gztar,zip
python setup.py bdist_wheel --python-tag=py3
publish :
twine upload dist/*.tar.gz dist/*.whl
test:
pytest -v
flake8
vermin --target=3.6 --no-tips --violations .
coverage:
coverage erase
coverage run
coverage report
clean :
find . -name "*pyc" | xargs rm -rf $1
rm -rf build dist MANIFEST htmlcov toot*.tar.gz
changelog:
./scripts/generate_changelog > CHANGELOG.md