From 52581b2b4efa848b7d0fd871d0be80792f7a4727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20M=C3=A9ndez?= Date: Fri, 9 Feb 2024 03:52:24 -0600 Subject: [PATCH] Added a few + improved projects commands --- pyproject.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ea73d3c..79e725b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]]