1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-25 00:20:55 +01:00
Toot-Mastodon-CLI-TUI-clien.../Makefile
2018-06-25 14:27:40 +02:00

22 lines
410 B
Makefile

.PHONY: clean publish test
dist :
python setup.py sdist --formats=gztar,zip
python setup.py bdist_wheel --python-tag=py3
deb_dist:
python setup.py --command-packages=stdeb.command bdist_deb
publish :
twine upload dist/*
test:
pytest -v -s
coverage:
py.test --cov=toot --cov-report html tests/
clean :
find . -name "*pyc" | xargs rm -rf $1
rm -rf build dist MANIFEST htmlcov deb_dist toot*.tar.gz