aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures')
-rw-r--r--tests/fixtures/project_with_tasks_from_child/child_with_pyproject/pyproject.toml6
-rw-r--r--tests/fixtures/project_with_tasks_from_child/child_without_pyproject/.gitkeep0
-rw-r--r--tests/fixtures/project_with_tasks_from_child/pyproject.toml6
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/fixtures/project_with_tasks_from_child/child_with_pyproject/pyproject.toml b/tests/fixtures/project_with_tasks_from_child/child_with_pyproject/pyproject.toml
new file mode 100644
index 0000000..0f5b4a1
--- /dev/null
+++ b/tests/fixtures/project_with_tasks_from_child/child_with_pyproject/pyproject.toml
@@ -0,0 +1,6 @@
+[tool.poetry]
+name = "taskipy"
+description = "tasks runner for python projects"
+
+[tool.taskipy.tasks]
+hello = 'echo "hello from child"'
diff --git a/tests/fixtures/project_with_tasks_from_child/child_without_pyproject/.gitkeep b/tests/fixtures/project_with_tasks_from_child/child_without_pyproject/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/fixtures/project_with_tasks_from_child/child_without_pyproject/.gitkeep
diff --git a/tests/fixtures/project_with_tasks_from_child/pyproject.toml b/tests/fixtures/project_with_tasks_from_child/pyproject.toml
new file mode 100644
index 0000000..1f29837
--- /dev/null
+++ b/tests/fixtures/project_with_tasks_from_child/pyproject.toml
@@ -0,0 +1,6 @@
+[tool.poetry]
+name = "taskipy"
+description = "tasks runner for python projects"
+
+[tool.taskipy.tasks]
+print_current_dir_name = 'python -c "from pathlib import Path; print(Path.cwd().name)"'