A library that computes the ephemerides.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. black:
  2. pipenv run black kosmorrolib tests setup.py
  3. .PHONY: tests
  4. tests: legacy-tests doctests
  5. coverage-doctests:
  6. pipenv run python3 -m coverage run tests.py
  7. doctests:
  8. pipenv run python3 tests.py
  9. legacy-tests:
  10. unset KOSMORRO_LATITUDE; \
  11. unset KOSMORRO_LONGITUDE; \
  12. unset KOSMORRO_TIMEZONE; \
  13. pipenv run python3 -m unittest tests
  14. .PHONY: build
  15. build:
  16. python3 setup.py sdist bdist_wheel
  17. env:
  18. @if [[ "$$RELEASE_NUMBER" == "" ]]; \
  19. then echo "Missing environment variable: RELEASE_NUMBER."; \
  20. echo 'Example: export RELEASE_NUMBER="1.0.0" (without the leading "v")'; \
  21. exit 1; \
  22. fi
  23. changelog:
  24. conventional-changelog -p angular -i CHANGELOG.md -s
  25. @echo -e "\e[32m✔\e[33m Changelog generated. Don't forget to update the version number before committing.\e[0m"
  26. @echo -e " When everything is good, finish the release with 'make tag'."
  27. tag: env
  28. git add CHANGELOG.md
  29. git commit -m "build: bump version $$RELEASE_NUMBER"
  30. git tag "v$$RELEASE_NUMBER"
  31. git checkout features
  32. git merge main
  33. git checkout main
  34. @echo
  35. @echo -e "\e[1mVersion \e[36m$$RELEASE_NUMBER\e[39m successfully tagged!"
  36. @echo -e "Invoke \e[33mgit push origin master features v$$RELEASE_NUMBER\e[39m to finish."