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

37 lines
683 B
Makefile
Raw Normal View History

2020-06-15 21:27:41 +02:00
.PHONY: clean publish test docs
2017-04-12 16:42:04 +02:00
dist :
2018-06-25 14:27:40 +02:00
python setup.py sdist --formats=gztar,zip
python setup.py bdist_wheel --python-tag=py3
2017-04-12 16:42:04 +02:00
publish :
twine upload dist/*.tar.gz dist/*.whl
2018-06-25 14:27:40 +02:00
test:
pytest -v
flake8
vermin --target=3.6 --no-tips --violations --exclude-regex venv/.* .
2018-06-25 14:27:40 +02:00
coverage:
2022-11-29 11:25:52 +01:00
coverage erase
coverage run
2023-01-02 10:11:19 +01:00
coverage html
2022-11-29 11:25:52 +01:00
coverage report
2017-08-26 15:56:41 +02:00
2018-06-25 14:27:40 +02:00
clean :
find . -name "*pyc" | xargs rm -rf $1
2022-11-12 15:29:19 +01:00
rm -rf build dist MANIFEST htmlcov toot*.tar.gz
2019-09-04 08:39:18 +02:00
changelog:
./scripts/generate_changelog > CHANGELOG.md
2023-03-03 13:52:37 +01:00
cp CHANGELOG.md docs/changelog.md
docs: changelog
mdbook build
docs-serve:
mdbook serve
docs-deploy: docs
rsync --archive --compress --delete --stats book/ bezdomni:web/toot