Skip to main content

prepare_build_dir

Function prepare_build_dir 

Source
pub fn prepare_build_dir(project_root: &Path, build_dir: &Path) -> Result<()>
Expand description

Ensure .bynk/ is gitignored on first build (cargo’s target/.gitignore precedent — a dev run never dirties git status), then clear the workers/ tree so selection only ever sees this build’s contexts (D1).