A library that computes the ephemerides.
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- black:
- pipenv run black kosmorrolib tests setup.py
-
- .PHONY: tests
- tests: legacy-tests doctests
-
- doctests:
- pipenv run python3 -m coverage run tests.py
-
- legacy-tests:
- unset KOSMORRO_LATITUDE; \
- unset KOSMORRO_LONGITUDE; \
- unset KOSMORRO_TIMEZONE; \
- pipenv run python3 -m coverage run -m unittest tests
-
- .PHONY: build
- build:
- python3 setup.py sdist bdist_wheel
-
- env:
- @if [[ "$$RELEASE_NUMBER" == "" ]]; \
- then echo "Missing environment variable: RELEASE_NUMBER."; \
- echo 'Example: export RELEASE_NUMBER="1.0.0" (without the leading "v")'; \
- exit 1; \
- fi
-
- changelog:
- conventional-changelog -p angular -i CHANGELOG.md -s
- @echo -e "\e[32m✔\e[33m Changelog generated. Don't forget to update the version number before committing.\e[0m"
- @echo -e " When everything is good, finish the release with 'make tag'."
-
- tag: env
- git add CHANGELOG.md kosmorrolib/version.py kosmorrolib/locales/messages.pot
- git commit -m "build: bump version $$RELEASE_NUMBER"
- git tag "v$$RELEASE_NUMBER"
- git checkout features
- git merge master
- git checkout master
-
- @echo
- @echo -e "\e[1mVersion \e[36m$$RELEASE_NUMBER\e[39m successfully tagged!"
- @echo -e "Invoke \e[33mgit push origin master features v$$RELEASE_NUMBER\e[39m to finish."
|