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

Add pdm scripts

parent 497f5b1b
No related branches found
No related tags found
1 merge request!986Add PDM & Update Deploy pipeline
......@@ -73,3 +73,20 @@ dev = [
[tool.pdm.scripts]
# Generic scripts
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