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

35 lines
720 B
YAML
Raw Normal View History

2019-02-24 10:53:49 +02:00
version: 2
tasks:
task-with-details:
2019-02-24 12:01:48 +02:00
deps: [dependend-task]
2019-02-24 10:53:49 +02:00
details: |
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'
dependend-task:
cmds:
- echo 'dependend-task was executed'
other-task-with-details:
2019-02-24 12:09:55 +02:00
details: 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:
details: |
First line followed by empty line
Last Line
cmds:
- exit 0