Skip to content

Commit

Permalink
Added a few + improved projects commands
Browse files Browse the repository at this point in the history
  • Loading branch information
matagus committed Feb 9, 2024
1 parent 7766b9e commit 52581b2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,20 @@ include = [
]

[tool.hatch.envs.default]
dependencies = [
"Django>=4.0", "ipython", "ipdb", "mypy", "typing-extensions"
]

[tool.hatch.envs.project]
dependencies = [
"Django>=4.0", "ipython", "ipdb", "mypy", "typing-extensions", "django-extensions", "Werkzeug"
]

[tool.hatch.envs.default.scripts]
runserver = "python example_project/manage.py runserver_plus"
[tool.hatch.envs.project.scripts]
server = "python example_project/manage.py runserver_plus"
shell = "python example_project/manage.py shell_plus"
migrate = "python example_project/manage.py migrate"
makemigrations = "python example_project/manage.py makemigrations"

# Test environment
[[tool.hatch.envs.test.matrix]]
Expand Down

0 comments on commit 52581b2

Please sign in to comment.