Staged parallel runs #821
-
I want something weird. I have version: '3'
output: 'prefixed'
tasks:
build:
cmds:
- build command
deploy:
cmds:
- deploy command I'm using these files in main taskfile: version: '3'
includes:
a:
taskfile: ./A.yml
b:
taskfile: ./B.yml
c:
taskfile: ./C.yml
tasks:
a:
cmds:
- task: a:build
- task: a:deploy
b:
cmds:
- task: b:build
- task: b:deploy
c:
cmds:
- task: c:build
- task: c:deploy
all:
deps:
- task: a
- task: b
- task: c Is it possible to first run |
Beta Was this translation helpful? Give feedback.
Answered by
andreynering
Jul 25, 2022
Replies: 1 comment 1 reply
-
Hi @misuzu, I hope all is well with you and your family in Ukraine! You need to declare extra tasks to achieve that: tasks:
build-all:
deps: [a:build, b:build, c:build]
deploy-all:
deps: [a:deploy, b:deploy, c:deploy]
all:
- task: build-all
- task: deploy-all A bit of duplication if you also need the old tasks, but it does the trick. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
misuzu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @misuzu,
I hope all is well with you and your family in Ukraine!
You need to declare extra tasks to achieve that:
A bit of duplication if you also need the old tasks, but it does the trick.