Open potash opened 7 years ago
One option for implementation is to add a Workflow
class which extends Step
but returns a list of steps. When generating the Makefile
, the rule corresponding to a workflow gets executed (like any step) and then its result (a list of steps, i.e. the leaves of a new workflow) generate a new Makefile.
Once we've switched to make (#37) we can support adaptive workflows using recursive make. The prototypical use case is feature search, e.g. adding/removing one feature (or set of features) at a time according to some metric.