1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-11-03 04:17:21 -05:00
toot/Makefile

25 lines
482 B
Makefile
Raw Normal View History

2018-06-25 08:27:40 -04:00
.PHONY: clean publish test
2017-04-12 10:42:04 -04:00
dist :
2018-06-25 08:27:40 -04:00
python setup.py sdist --formats=gztar,zip
python setup.py bdist_wheel --python-tag=py3
2017-04-12 10:42:04 -04:00
2018-06-25 08:27:40 -04:00
deb_dist:
python setup.py --command-packages=stdeb.command bdist_deb
2017-04-12 10:42:04 -04:00
publish :
twine upload dist/*.tar.gz dist/*.whl
2018-06-25 08:27:40 -04:00
test:
pytest -v
2018-06-25 08:27:40 -04:00
coverage:
py.test --cov=toot --cov-report html tests/
2017-08-26 09:56:41 -04:00
2018-06-25 08:27:40 -04:00
clean :
find . -name "*pyc" | xargs rm -rf $1
rm -rf build dist MANIFEST htmlcov deb_dist toot*.tar.gz
2019-09-04 02:39:18 -04:00
changelog:
./scripts/generate_changelog > CHANGELOG.md