You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently trying to integrate mise task in a monorepo where we want to run and build the different applications that all have a frontend and a backend. we want to utilize task dependencies for this but don't find a way to pass arguments to the task dependencies.
[tasks.start-backend]
dir = "apps"run = "cd app1/backend && pnpm run dev"depends = "install-deps"
[tasks.start-frontend]
dir = "apps"run = "cd app1/frontend && pnpm run dev"depends = "install-deps"
[tasks.start]
run = ""depends = ["start-backend", "start-frontend"]
the "app1" should be configurable by the start so that the start task could have an arg() that could be passed to its dependencies. This would be similar to how Taskfile supports passing variables to dependencies https://taskfile.dev/usage/#calling-another-task
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are currently trying to integrate mise task in a monorepo where we want to run and build the different applications that all have a frontend and a backend. we want to utilize task dependencies for this but don't find a way to pass arguments to the task dependencies.
the "app1" should be configurable by the
start
so that thestart
task could have anarg()
that could be passed to its dependencies. This would be similar to how Taskfile supports passing variables to dependencies https://taskfile.dev/usage/#calling-another-taskBeta Was this translation helpful? Give feedback.
All reactions