You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 775 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. black:
  2. poetry run black kosmorro tests
  3. .PHONY: tests
  4. tests:
  5. LANG=C python3 -m poetry run pytest tests/*.py
  6. .PHONY: build
  7. build:
  8. poetry build
  9. .PHONY: manpage
  10. manpage:
  11. ronn --roff manpage/kosmorro.1.md
  12. ronn --roff manpage/kosmorro.7.md
  13. messages:
  14. poetry run pybabel extract --output=kosmorro/locales/messages.pot kosmorro
  15. i18n:
  16. poetry run pybabel compile --directory=kosmorro/locales
  17. changelog:
  18. conventional-changelog -p angular -i CHANGELOG.md -s
  19. prepare-release: messages changelog
  20. @echo
  21. @echo "Before tagging, don't forget to update version number in CHANGELOG"
  22. appdir:
  23. appimage-builder --skip-tests
  24. mv *.AppImage dist/
  25. mv *.zsync dist/
  26. appimage: appdir
  27. clean:
  28. rm -rf build dist appimage-builder-cache kosmorro.egg-info manpage/kosmorro.{1,7}{,.html}