doit
doit copied to clipboard
Allowing task dependencies to be set by depending task
If I have two tasks A
and B
and I want to ensure that B
depends on A
, I currently have to say that when defining B
(via task_dep
). How about adding a possibility to do that when defining A
? I.e. setting something like "before_task": ["B"]
in the task definition of A
?
I have no idea how hard it would be to add this, though. :)
i guess it is ok. During the "load" tasks phase we could just translate from one style to the other, so not that many changes in the code.