2020-06-15 15:27:41 -04:00
|
|
|
.PHONY: clean publish test docs
|
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
|
|
|
|
|
|
|
publish :
|
2019-01-02 06:56:53 -05:00
|
|
|
twine upload dist/*.tar.gz dist/*.whl
|
2017-04-16 08:06:16 -04:00
|
|
|
|
2018-06-25 08:27:40 -04:00
|
|
|
test:
|
2019-09-18 15:52:22 -04:00
|
|
|
pytest -v
|
2023-01-01 06:15:51 -05:00
|
|
|
flake8
|
2023-11-18 16:20:06 -05:00
|
|
|
vermin toot
|
2018-06-25 08:27:40 -04:00
|
|
|
|
2017-04-16 08:06:16 -04:00
|
|
|
coverage:
|
2022-11-29 05:25:52 -05:00
|
|
|
coverage erase
|
|
|
|
coverage run
|
2023-01-02 04:11:19 -05:00
|
|
|
coverage html
|
2022-11-29 05:25:52 -05:00
|
|
|
coverage report
|
2017-08-26 09:56:41 -04:00
|
|
|
|
2018-06-25 08:27:40 -04:00
|
|
|
clean :
|
|
|
|
find . -name "*pyc" | xargs rm -rf $1
|
2022-11-12 09:29:19 -05:00
|
|
|
rm -rf build dist MANIFEST htmlcov toot*.tar.gz
|
2019-09-04 02:39:18 -04:00
|
|
|
|
|
|
|
changelog:
|
|
|
|
./scripts/generate_changelog > CHANGELOG.md
|
2023-03-03 07:52:37 -05: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
|