Function addStepDependencies [src]

Adds dependencies this file source implies to the given step.

Prototype

pub fn addStepDependencies(lazy_path: LazyPath, other_step: *Step) void

Parameters

lazy_path: LazyPathother_step: *Step

Source

pub fn addStepDependencies(lazy_path: LazyPath, other_step: *Step) void { switch (lazy_path) { .src_path, .cwd_relative, .dependency => {}, .generated => |gen| other_step.dependOn(gen.file.step), } }