pub fn addRunFile(b: *Build, executable: LazyPath) *Step.Run
Creates a step that executes the provided file.
Add more command line arguments via methods of Step.Run.
Step.Run
See also:
addSystemCommand
addRunArtifact
b: *Build
executable: LazyPath
817 818 819 820 821
pub fn addRunFile(b: *Build, executable: LazyPath) *Step.Run { const run_step = Step.Run.create(b, b.fmt("run {f}", .{executable})); run_step.addFileArg(executable); return run_step; }
Creates a step that executes the provided file.
Add more command line arguments via methods of
Step.Run.See also:
addSystemCommandaddRunArtifact