Hello,
I can find how to define dependencies on other tasks, but not how to create a task that is composed of a few commands, then call an existing task, then run a few commands.
Is there a way to do this?
Basically, I wish I could do:
from doit.something import TaskRef
def task_1():
...
def task2():
return {"actions": ["echo 1", TaskRef('task_1'), "echo 2"]}
Cheers