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:
17
testdata/summary/Taskfile.yml
vendored
17
testdata/summary/Taskfile.yml
vendored
@@ -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'
|
||||
|
@@ -1,8 +0,0 @@
|
||||
task: task-with-summary-containing-empty-line
|
||||
|
||||
First line followed by empty line
|
||||
|
||||
Last Line
|
||||
|
||||
commands:
|
||||
- exit 0
|
6
testdata/summary/task-without-commands.txt
vendored
6
testdata/summary/task-without-commands.txt
vendored
@@ -1,6 +0,0 @@
|
||||
task: task-without-commands
|
||||
|
||||
summary
|
||||
|
||||
dependencies:
|
||||
- dependend-task-1
|
Reference in New Issue
Block a user