doit icon indicating copy to clipboard operation
doit copied to clipboard

Allowing task dependencies to be set by depending task

Open felixfontein opened this issue 7 years ago • 1 comments

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. :)

Fund with Polar

felixfontein avatar Oct 09 '16 15:10 felixfontein

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.

schettino72 avatar Oct 10 '16 04:10 schettino72