jlandowner
How can I create a seqential deno task to pass args to child task?
Hi, I read the docs and created tasks in
deno.json
like this.
https://docs.deno.com/runtime/manual/tools/task_runner#executing-a-task
task-a
requires args so it can run independently with deno task task-a ARGS
I have to run task-b
after task-a
so I have to do with deno task task-a ARGS && deno task task-b
. It is redundant so I created task-all
task.
I intended to run this deno task task-all ARGS
. But in reality each tasks are executed as deno task task-a
(no args) and deno task task-b ARGS
.
How can I create a seqential task to achive this?8 replies