From 765e3dbf72fe2d616137816b01c45bce539c8aee Mon Sep 17 00:00:00 2001 From: jaedle Date: Sun, 24 Feb 2019 16:15:59 +0100 Subject: [PATCH] print only commands if present --- testdata/summary/Taskfile.yml | 1 - testdata/summary/task-without-commands.txt | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 testdata/summary/task-without-commands.txt diff --git a/testdata/summary/Taskfile.yml b/testdata/summary/Taskfile.yml index 10f152c0..cf07e9df 100644 --- a/testdata/summary/Taskfile.yml +++ b/testdata/summary/Taskfile.yml @@ -38,7 +38,6 @@ tasks: dependend-task-1: cmds: - echo 'dependend-task-1 was executed' - - dependend-task-2: cmds: - echo 'dependend-task-2 was executed' diff --git a/testdata/summary/task-without-commands.txt b/testdata/summary/task-without-commands.txt new file mode 100644 index 00000000..c7c5b024 --- /dev/null +++ b/testdata/summary/task-without-commands.txt @@ -0,0 +1,6 @@ +task: task-without-commands + +summary + +dependencies: + - dependend-task-1