mirror of
https://github.com/ihabunek/toot
synced 2024-12-22 15:06:05 +01:00
d7440feb14
It breaks tests because color is not stripped when output is in the tty.
25 lines
482 B
Makefile
25 lines
482 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/*.tar.gz dist/*.whl
|
|
|
|
test:
|
|
pytest -v
|
|
|
|
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
|
|
|
|
changelog:
|
|
./scripts/generate_changelog > CHANGELOG.md
|