1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

print commands on summary only if commands are present

This commit is contained in:
jaedle
2019-02-24 16:08:32 +01:00
parent 31ecf167cc
commit 4dcb124693
3 changed files with 16 additions and 18 deletions

View File

@@ -12,7 +12,7 @@ tasks:
- exit 0
task-without-summary:
deps: [dependend-task]
deps: [dependend-task-1]
cmds:
- echo 'task-without-summary was executed'
@@ -36,3 +36,7 @@ tasks:
Last Line
cmds:
- exit 0
task-without-commands:
summary: summary
deps: [dependend-task-1]