1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

add more tests for details

This commit is contained in:
jaedle
2019-02-24 11:01:48 +01:00
parent f9adeba7f1
commit a951f2403d
2 changed files with 28 additions and 3 deletions

View File

@@ -1,12 +1,23 @@
version: 2
tasks:
task-with-details:
deps: [dependend-task]
details: |
This is a very long detailed description
with multiple lines
cmds:
- exit 0
- echo 'task-with-details was executed'
task-without-details:
deps: [dependend-task]
cmds:
- exit 0
- echo 'task-without-details was executed'
dependend-task:
cmds:
- echo 'dependend-task was executed'
other-task-with-details:
details: short details
cmds:
- echo 'other-task-with-details was executed'