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.
 
 
 
 

39 regels
792 B

  1. black:
  2. poetry run black kosmorro tests setup.py
  3. .PHONY: tests
  4. tests:
  5. LANG=C python3 -m poetry run pytest tests/*.py
  6. .PHONY: build
  7. build: manpage
  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}