aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures/project_with_cwd_under_specific_task
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures/project_with_cwd_under_specific_task')
-rw-r--r--tests/fixtures/project_with_cwd_under_specific_task/alternative_calling_folder/.gitkeep0
-rw-r--r--tests/fixtures/project_with_cwd_under_specific_task/pyproject.toml7
-rw-r--r--tests/fixtures/project_with_cwd_under_specific_task/subfolder/.gitkeep0
3 files changed, 7 insertions, 0 deletions
diff --git a/tests/fixtures/project_with_cwd_under_specific_task/alternative_calling_folder/.gitkeep b/tests/fixtures/project_with_cwd_under_specific_task/alternative_calling_folder/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/fixtures/project_with_cwd_under_specific_task/alternative_calling_folder/.gitkeep
diff --git a/tests/fixtures/project_with_cwd_under_specific_task/pyproject.toml b/tests/fixtures/project_with_cwd_under_specific_task/pyproject.toml
new file mode 100644
index 0000000..78b7b7a
--- /dev/null
+++ b/tests/fixtures/project_with_cwd_under_specific_task/pyproject.toml
@@ -0,0 +1,7 @@
+[tool.poetry]
+name = "taskipy"
+description = "tasks runner for python projects"
+
+[tool.taskipy.tasks]
+pwd = { cmd = "python -c \"import os; print(os.getcwd())\"" }
+pwdsub = { cmd = "python -c \"import os; print(os.getcwd())\"", cwd = "./subfolder" }
diff --git a/tests/fixtures/project_with_cwd_under_specific_task/subfolder/.gitkeep b/tests/fixtures/project_with_cwd_under_specific_task/subfolder/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/fixtures/project_with_cwd_under_specific_task/subfolder/.gitkeep