Skip to main content

build

Function build 

Source
pub fn build(
    engine: &Engine<'_>,
    tasks: &[TaskInfo],
    caller: &BTreeMap<String, String>,
    print: &dyn PrintSink,
    events: &dyn BuildEvents,
) -> Result<BuildReport, StoreError>
Expand description

Build tasks, the selected tasks in the default order, with engine, in passes until a pass does no work; caller is the caller environment, the lines task programs print go to print, and events follows the build.

ยงErrors

A StoreError when a record cannot be read or written.