Skip to main content

run_steps

Function run_steps 

Source
pub fn run_steps(
    build_context: &GuardedPath,
    steps: &[Step],
    io: ExecIo,
) -> Result<(), Error>
Expand description

Execute the DSL with the CLI default: a lazily-created snapshot. No temporary directory exists until the first snapshot-targeted resolution. Reads of existing workspace files fall through to the build context, but directory listings (GLOB, LS) are snapshot-scoped, so workspace discovery belongs before the lazy run or under WORKSPACE LOCAL. Fire-and-forget form of run_steps_with_lazy_snapshot: for bindings and the snapshot handle, call that directly. For runs that must land exactly in a given root with no snapshot, use run_steps_without_snapshot.