mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
renaming field in taskfile to summary
This commit is contained in:
38
testdata/summary/Taskfile.yml
vendored
Normal file
38
testdata/summary/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
version: 2
|
||||
tasks:
|
||||
task-with-details:
|
||||
deps: [dependend-task-1,dependend-task-2]
|
||||
summary: |
|
||||
details of task-with-details - line 1
|
||||
line 2
|
||||
line 3
|
||||
cmds:
|
||||
- echo 'task-with-details was executed'
|
||||
- echo 'another command'
|
||||
- exit 0
|
||||
|
||||
task-without-details:
|
||||
deps: [dependend-task]
|
||||
cmds:
|
||||
- echo 'task-without-details was executed'
|
||||
|
||||
dependend-task-1:
|
||||
cmds:
|
||||
- echo 'dependend-task-1 was executed'
|
||||
-
|
||||
dependend-task-2:
|
||||
cmds:
|
||||
- echo 'dependend-task-2 was executed'
|
||||
|
||||
other-task-with-details:
|
||||
summary: details of other-task-with-details
|
||||
cmds:
|
||||
- echo 'other-task-with-details was executed'
|
||||
|
||||
task-with-description-containing-empty-line:
|
||||
summary: |
|
||||
First line followed by empty line
|
||||
|
||||
Last Line
|
||||
cmds:
|
||||
- exit 0
|
8
testdata/summary/task-with-description-containing-empty-line.txt
vendored
Normal file
8
testdata/summary/task-with-description-containing-empty-line.txt
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
task: task-with-description-containing-empty-line
|
||||
|
||||
First line followed by empty line
|
||||
|
||||
Last Line
|
||||
|
||||
commands:
|
||||
- exit 0
|
14
testdata/summary/task-with-details.txt
vendored
Normal file
14
testdata/summary/task-with-details.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
task: task-with-details
|
||||
|
||||
details of task-with-details - line 1
|
||||
line 2
|
||||
line 3
|
||||
|
||||
dependencies:
|
||||
- dependend-task-1
|
||||
- dependend-task-2
|
||||
|
||||
commands:
|
||||
- echo 'task-with-details was executed'
|
||||
- echo 'another command'
|
||||
- exit 0
|
Reference in New Issue
Block a user