Go/Task

From Fundamental Ramen
< Go
Revision as of 10:11, 23 September 2026 by Tacoball (talk | contribs) (→Task Flow)
Jump to navigation Jump to search

https://taskfile.dev/docs/guide

Comparison for cmds, deps & preconditions

cmds deps preconditions
Parallel
Refer another task

Task Flow

File Path/images/quickmmd/Go_Task-go-task-flow.svg
File Size168.72 KB
Last modified2026-10-06
Time of SVG loading0.00 second(s)
Time of SVG convertion0.00 second(s)
Cache DetectedYes
SVG EngineKroki API
Kroki API URLhttp://kroki:8000
Mermaid syntax Referencehttps://mermaid.js.org/intro/syntax-reference.html
QuickMMD Version1.0.0 - About QuickMMD
flowchart TD
  A([Run task])

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

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

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

  Z1([Done])
  Z2([Leave task with error])

  A --> D

  D --> E1
  D --> E2
  D --> En

  E1 --> F
  E2 --> F
  En --> F

  F -->|No| Z2
  F -->|Yes| B

  B --> C1

  C1 -->|Succeeded| C2
  C1 -->|Failed| Z2

  C2 -->|Succeeded| Cn
  C2 -->|Failed| Z2

  Cn -->|Succeeded| G
  Cn -->|Failed| Z2

  G --> H1

  H1 -->|Succeeded| H2
  H1 -->|Failed| Z2

  H2 -->|Succeeded| Hn
  H2 -->|Failed| Z2

  Hn -->|Succeeded| Z1
  Hn -->|Failed| Z2