Skip to content
Snippets Groups Projects
Commit a53c73ed authored by Roang's avatar Roang
Browse files

Add pdm scripts

parent de7f09eb
No related branches found
No related tags found
No related merge requests found
...@@ -73,3 +73,20 @@ dev = [ ...@@ -73,3 +73,20 @@ dev = [
[tool.pdm.scripts] [tool.pdm.scripts]
# Generic scripts # Generic scripts
whoami = { shell = "echo `{pdm} -V` was called as '{pdm} -V'" } whoami = { shell = "echo `{pdm} -V` was called as '{pdm} -V'" }
# Application version
app_version = "./src/manage.py appversion"
# Django scripts
start = "./src/manage.py runserver"
shell = "./src/manage.py shell"
manage = "./src/manage.py"
# TOX scripts
all = "tox"
check-migrations = "tox -e migrations"
coverage-report = "tox -e coverage-report"
style-check = {composite = ["format", "lint"]}
format = {composite = ["py-format"]}
lint = {composite = ["py-lint"]}
py-format = "tox -e py-format"
py-lint = "tox -e py-lint"
test = "tox -e django-test"
live-test = "tox -e live-test"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment