Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

44 linhas
1.0 KiB

  1. black:
  2. pipenv run black kosmorro _kosmorro tests setup.py
  3. .PHONY: tests
  4. tests:
  5. @if [ "$${TEXLIVE_INSTALLED}" == "" ]; then \
  6. echo "If you are running the tests locally and TeXLive is installed on your machine, you will need to set the TEXLIVE_INSTALLED environment variable."; \
  7. echo; \
  8. fi
  9. LANG=C pipenv run python3 -m pytest tests/*.py
  10. .PHONY: build
  11. build: manpage
  12. python3 setup.py sdist bdist_wheel
  13. .PHONY: manpage
  14. manpage:
  15. ronn --roff manpage/kosmorro.1.md
  16. ronn --roff manpage/kosmorro.7.md
  17. messages:
  18. pipenv run pybabel extract --output=_kosmorro/locales/messages.pot _kosmorro
  19. i18n:
  20. pipenv run pybabel compile --directory=_kosmorro/locales
  21. changelog:
  22. conventional-changelog -p angular -i CHANGELOG.md -s
  23. prepare-release: messages changelog
  24. @echo
  25. @echo "Before tagging, don't forget to update version number in CHANGELOG"
  26. appdir:
  27. appimage-builder --skip-tests
  28. mv *.AppImage dist/
  29. mv *.zsync dist/
  30. appimage: appdir
  31. clean:
  32. rm -rf build dist appimage-builder-cache kosmorro.egg-info manpage/kosmorro.{1,7}{,.html}