1
0
mirror of https://github.com/go-task/task.git synced 2025-05-13 22:16:31 +02:00

refactoring

This commit is contained in:
jaedle 2019-02-24 16:10:43 +01:00
parent 4dcb124693
commit 80f5cee599

View File

@ -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:
@ -40,3 +34,11 @@ tasks:
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'