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.
 
 
 
 

32 lines
678 B

  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. clean:
  23. rm -rf build dist appimage-builder-cache kosmorro.egg-info manpage/kosmorro.{1,7}{,.html}