1
0
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:
jaedle
2019-02-24 15:37:02 +01:00
parent 06d0af7a1d
commit d05d418c4c
6 changed files with 10 additions and 10 deletions

38
testdata/summary/Taskfile.yml vendored Normal file
View 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

View 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
View 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