From ea898f7bf45ca0f8667bd76d6718c6fff9961bd3 Mon Sep 17 00:00:00 2001 From: Roy Sommer Date: Sun, 22 Dec 2019 23:09:38 +0200 Subject: initial commit --- .../project_with_pre_post_task_hooks/pyproject.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/fixtures/project_with_pre_post_task_hooks/pyproject.toml (limited to 'tests/fixtures/project_with_pre_post_task_hooks') diff --git a/tests/fixtures/project_with_pre_post_task_hooks/pyproject.toml b/tests/fixtures/project_with_pre_post_task_hooks/pyproject.toml new file mode 100644 index 0000000..fb9a142 --- /dev/null +++ b/tests/fixtures/project_with_pre_post_task_hooks/pyproject.toml @@ -0,0 +1,16 @@ +[tool.poetry] +name = "taskipy" +description = "tasks runner for python projects" + +[tool.taskify.tasks] +pre_hello = "echo 'pre_task'" +hello = "echo 'hello'" +post_hello = "echo 'post_task'" + +pre_hello_failed_pretask = "echo 'pre_task' && exit 1" +hello_failed_pretask = "echo 'hello'" +post_hello_failed_pretask = "echo 'post_task'" + +pre_hello_failed_posttask = "echo 'pre_task'" +hello_failed_posttask = "echo 'hello'" +post_hello_failed_posttask = "echo 'post_task' && exit 1" -- cgit v1.2.3