Toot-Mastodon-CLI-TUI-clien.../Makefile

29 lines
491 B
Makefile
Raw Normal View History

2017-04-12 16:42:04 +02:00
default : clean dist
dist :
@echo "\nMaking source"
@echo "-------------"
@python setup.py sdist
@echo "\nMaking wheel"
@echo "-------------"
@python setup.py bdist_wheel --universal
@echo "\nDone."
clean :
2017-04-24 16:24:43 +02:00
find . -name "*pyc" | xargs rm -rf $1
2017-12-31 15:42:18 +01:00
rm -rf build dist MANIFEST htmlcov deb_dist toot*.tar.gz
2017-04-12 16:42:04 +02:00
publish :
twine upload dist/*
coverage:
py.test --cov=toot --cov-report html tests/
2017-08-26 15:56:41 +02:00
deb:
@python setup.py --command-packages=stdeb.command bdist_deb
2018-06-07 08:48:20 +02:00
test:
pytest -v -s