Skip to main content

run_phase

Function run_phase 

Source
pub fn run_phase(
    config: &Config,
    source: &Utf8Path,
    yui: &YuiVars,
    engine: &mut Engine,
    base_ctx: &Context,
    phase: HookPhase,
    dry_run: bool,
) -> Result<()>
Expand description

Run every hook whose phase matches. Stops at the first failure (the user can investigate, fix, and re-run; we don’t want to silently keep going after a failed pre hook).