Files
django-admin-confirm-briq/Makefile
T
Thu Trang Pham 9a9dfa75e8 feat(ISSUE-3): travis and coveralls (#10)
* feat(ISSUE-8): ISSUE-8: ManyToManyField causes error on confirmations

* feat(ISSUE-8): Update some readme and remove print statements

* feat(ISSUE-8): Generate new version of package

* feat(ISSUE-3): Adding .travis.yml

* feat(ISSUE-3): Adding coveralls

* feat(ISSUE-3): Trying github actions

* feat(ISSUE-3): remove travis

* feat(ISSUE-3): Change python versions to test

* feat(ISSUE-3): Some refactoring and trying tox

* feat(ISSUE-3): Try action matrix

* feat(ISSUE-3): Some more refactors

* feat(ISSUE-3): Fix tests

* feat(ISSUE-3): Refactor/fix tests

* feat(ISSUE-3): Remove tox

* feat(ISSUE-3): Adding pypi version badge to readme

* feat(ISSUE-3): Update readme again

Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
2021-02-19 21:28:17 -08:00

30 lines
712 B
Makefile

run:
./tests/manage.py runserver
test:
coverage run --source admin_confirm --branch -m pytest
coverage html
coverage-badge -f -o coverage.svg
check-readme:
python -m readme_renderer README.md -o /tmp/README.html
migrate:
./tests/manage.py makemigrations
./tests/manage.py migrate
shell:
./tests/manage.py shell
package:
python3 setup.py sdist bdist_wheel
upload-testpypi:
python3 -m twine upload --repository testpypi dist/django_admin_confirm-$(VERSION)*
i-have-tested-with-testpypi-and-am-ready-to-release:
python3 -m twine upload --repository pypi dist/django_admin_confirm-$(VERSION)*
install-testpypi:
python -m pip install --index-url https://test.pypi.org/simple/ django_admin_confirm