Go/Task: Difference between revisions

From Fundamental Ramen
< Go
Jump to navigation Jump to search
Line 17: Line 17:
   A([Run task])
   A([Run task])


   D[Run deps in parallel]
   D([Run deps in parallel])
   E1[Run 1st dependency]
   E1([Run 1st dependency])
   E2[Run 2nd dependency]
   E2([Run 2nd dependency])
   En[Run nth dependency]
   En([Run nth dependency])
   F{All dependencies succeeded?}
   F([All dependencies succeeded?])


   B[Run preconditions sequentially]
   B([Run preconditions sequentially])
   C1[Run precondition 1]
   C1([Run precondition 1])
   C2[Run precondition 2]
   C2([Run precondition 2])
   Cn[Run precondition n]
   Cn([Run precondition n])


   G[Run cmds sequentially]
   G([Run cmds sequentially])
   H1[Run 1st command in a dedicated shell]
   H1([Run 1st command in a dedicated shell])
   H2[Run 2nd command in a dedicated shell]
   H2([Run 2nd command in a dedicated shell])
   Hn[Run nth command in a dedicated shell]
   Hn([Run nth command in a dedicated shell])


   Z1([Done])
   Z1([Done])

Revision as of 10:16, 23 September 2026

https://taskfile.dev/docs/guide

Comparison for cmds, deps & preconditions

cmds deps preconditions
Parallel ❌ ✅ ❌
Refer another task ✅ ✅ ❌

Task Flow