mirror of
https://github.com/go-task/task.git
synced 2025-05-13 22:16:31 +02:00
refactoring
This commit is contained in:
parent
4dcb124693
commit
80f5cee599
20
testdata/summary/Taskfile.yml
vendored
20
testdata/summary/Taskfile.yml
vendored
@ -1,5 +1,7 @@
|
|||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
task-with-summary:
|
task-with-summary:
|
||||||
deps: [dependend-task-1,dependend-task-2]
|
deps: [dependend-task-1,dependend-task-2]
|
||||||
summary: |
|
summary: |
|
||||||
@ -16,14 +18,6 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- echo 'task-without-summary was executed'
|
- echo 'task-without-summary 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-summary:
|
other-task-with-summary:
|
||||||
summary: summary of other-task-with-summary
|
summary: summary of other-task-with-summary
|
||||||
cmds:
|
cmds:
|
||||||
@ -35,8 +29,16 @@ tasks:
|
|||||||
|
|
||||||
Last Line
|
Last Line
|
||||||
cmds:
|
cmds:
|
||||||
- exit 0
|
- exit 0
|
||||||
|
|
||||||
task-without-commands:
|
task-without-commands:
|
||||||
summary: summary
|
summary: summary
|
||||||
deps: [dependend-task-1]
|
deps: [dependend-task-1]
|
||||||
|
|
||||||
|
dependend-task-1:
|
||||||
|
cmds:
|
||||||
|
- echo 'dependend-task-1 was executed'
|
||||||
|
-
|
||||||
|
dependend-task-2:
|
||||||
|
cmds:
|
||||||
|
- echo 'dependend-task-2 was executed'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user