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

display summary for tasks without summary/description

This commit is contained in:
jaedle
2019-02-24 19:02:44 +01:00
parent 3f8ee21849
commit 3ca590b185
6 changed files with 22 additions and 61 deletions

View File

@@ -13,28 +13,11 @@ tasks:
- echo 'another command'
- exit 0
task-without-summary:
deps: [dependend-task-1]
cmds:
- echo 'task-without-summary was executed'
other-task-with-summary:
summary: summary of other-task-with-summary
cmds:
- echo 'other-task-with-summary was executed'
task-with-summary-containing-empty-line:
summary: |
First line followed by empty line
Last Line
cmds:
- exit 0
task-without-commands:
summary: summary
deps: [dependend-task-1]
dependend-task-1:
cmds:
- echo 'dependend-task-1 was executed'

View File

@@ -1,8 +0,0 @@
task: task-with-summary-containing-empty-line
First line followed by empty line
Last Line
commands:
- exit 0

View File

@@ -1,6 +0,0 @@
task: task-without-commands
summary
dependencies:
- dependend-task-1