A to-do list. From a list of soclib_builder.bblock.BBlock objects, retrieve all involved soclib_builder.action.Action objects, and permit to:
Action objects are automatically retrieved from their associated soclib_builder.bblock.BBlock objects.
Creates a new to-do list with an arbitrary list of build blocks to do.
Parameters: | dests – arbitrary list of BBlock that are the products to do |
---|
Adds an arbitraty list of build blocks to the todo list.
Parameters: | dests – arbitrary list of BBlock that are the products to do |
---|
Prepare the list of actions to perform. Compute the dependencies, order the building blocks by dependencies, order the actions.
Delete all products of all actions.
Build all dests associated to this to-do list. This method either returns with all products done and no error, or raises an exception of a failed action.
Returns: | None |
---|---|
Raises : | Build failure |