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.
 
 
 
 

45 line
916 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: install-conventional-changelog generate-changelog delete-conventional-changelog
  18. install-conventional-changelog:
  19. npm install conventional-changelog-cli
  20. generate-changelog:
  21. node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s
  22. prepare-release: messages changelog
  23. delete-conventional-changelog:
  24. rm -rf \
  25. node_modules \
  26. package{,-lock}.json
  27. clean: delete-conventional-changelog
  28. rm -rf \
  29. build \
  30. dist appimage-builder-cache \
  31. kosmorro.egg-info \
  32. manpage/kosmorro.{1,7}{,.html}