A library that computes the ephemerides.
Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- black:
- pipenv run black kosmorrolib tests setup.py
-
- .PHONY: tests
- tests: legacy-tests doctests
-
- coverage-doctests:
- pipenv run python3 -m coverage run tests.py
-
- doctests:
- pipenv run python3 tests.py
-
- legacy-tests:
- unset KOSMORRO_LATITUDE; \
- unset KOSMORRO_LONGITUDE; \
- unset KOSMORRO_TIMEZONE; \
- pipenv run python3 -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
- git commit -m "build: bump version $$RELEASE_NUMBER"
- git tag "v$$RELEASE_NUMBER"
- git checkout features
- git merge main
- git checkout main
-
- @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."
|