Go/Task: Difference between revisions

From Fundamental Ramen
< Go
Jump to navigation Jump to search
Created page with "https://taskfile.dev/docs/guide"
 
No edit summary
Line 1: Line 1:
https://taskfile.dev/docs/guide
https://taskfile.dev/docs/guide
== Task Flow ==
<quickmmd name="go-task-flow">
flowchart TD
  A(Run task)
  B(Run preconditions sequentially)
  C1(Run precondition 1)
  C2(Run precondition 2)
  Cn(Run precondition n)
  D(Run deps in parallel)
  E1(Run 1st dependency)
  E2(Run 2nd dependency)
  En(Run nth dependency)
  F(All dependencies finished)
  G(Run cmds)
  H1(Run 1st command<br>in dedicate shell)
  H2(Run 2nd command<br>in dedicate shell)
  Hn(Run nth command<br>in dedicate shell)
  Z1(Done)
  Z2(Leave task)
  A --> B
  B --> C1
  C1 -- successfully --> C2
  C1 -- failed --> Z2
  C2 -- successfully --> Cn
  C2 -- failed --> Z2
  Cn -- successfully --> D
  Cn -- failed --> Z2
  D --> E1 & E2 & En
  E1 & E2 & En --> F
  F --> G
  F -- one or more of dependencies failed --> Z2
  G --> H1
  H1 --> H2
  H1 -- failed --> Z2
  H2 --> Hn
  H2 -- failed --> Z2
  Hn --> Z1
  Hn -- failed --> Z2
</quickmmd>

Revision as of 10:03, 23 September 2026