Run Task of Project in Workspace?! #25883
-
So let's say I have multiple projects in a workspace with their respective deno.json files and tasks and so on. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Not supported at the moment. There is a a feature request for this here #24991 |
Beta Was this translation helpful? Give feedback.
-
We are exploring Deno workspaces, and this was an itch that wouldn't go away. It's very crude at this point, and it needs some cleanup, but handles the basic scenario of running all tasks/scripts that match a name or names. |
Beta Was this translation helpful? Give feedback.
-
This is supported now. You can run a a task on a specific project using Here is the full output from
|
Beta Was this translation helpful? Give feedback.
-
It would be great to document this here: https://docs.deno.com/runtime/fundamentals/workspaces/. I finally stumbled on this discussion thread after banging my head against the wall on this for the past few months. |
Beta Was this translation helpful? Give feedback.
-
For the next person coming here: |
Beta Was this translation helpful? Give feedback.
This is supported now. You can run a a task on a specific project using
deno task -f <project> <command>
Here is the full output from
deno help task
that specifies all the relevant options