1
0
mirror of https://github.com/go-task/task.git synced 2024-12-14 10:52:43 +02:00
task/testdata/summary/Taskfile.yml

39 lines
826 B
YAML
Raw Normal View History

2019-02-24 10:53:49 +02:00
version: 2
tasks:
task-with-details:
2019-02-24 15:53:39 +02:00
deps: [dependend-task-1,dependend-task-2]
2019-02-24 16:37:02 +02:00
summary: |
2019-02-24 12:22:14 +02:00
details of task-with-details - line 1
line 2
line 3
2019-02-24 10:53:49 +02:00
cmds:
2019-02-24 12:01:48 +02:00
- echo 'task-with-details was executed'
2019-02-24 15:37:14 +02:00
- echo 'another command'
- exit 0
2019-02-24 10:53:49 +02:00
task-without-details:
2019-02-24 12:01:48 +02:00
deps: [dependend-task]
2019-02-24 10:53:49 +02:00
cmds:
2019-02-24 12:01:48 +02:00
- echo 'task-without-details was executed'
2019-02-24 15:53:39 +02:00
dependend-task-1:
cmds:
- echo 'dependend-task-1 was executed'
-
dependend-task-2:
2019-02-24 12:01:48 +02:00
cmds:
2019-02-24 15:53:39 +02:00
- echo 'dependend-task-2 was executed'
2019-02-24 12:01:48 +02:00
other-task-with-details:
2019-02-24 16:37:02 +02:00
summary: details of other-task-with-details
2019-02-24 12:01:48 +02:00
cmds:
- echo 'other-task-with-details was executed'
task-with-description-containing-empty-line:
2019-02-24 16:37:02 +02:00
summary: |
First line followed by empty line
Last Line
cmds:
- exit 0