fix issues with script not being run every time
This commit is contained in:
parent
186651dce0
commit
11b5e1a267
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ pub fn build(b: *std.Build) void {
|
||||||
const script_path = b.pathFromRoot("fix_needed.sh");
|
const script_path = b.pathFromRoot("fix_needed.sh");
|
||||||
const fix_needed = b.addSystemCommand(&.{script_path});
|
const fix_needed = b.addSystemCommand(&.{script_path});
|
||||||
fix_needed.step.dependOn(&install_exe.step);
|
fix_needed.step.dependOn(&install_exe.step);
|
||||||
|
fix_needed.addFileInput(install_exe.emitted_bin.?);
|
||||||
|
fix_needed.has_side_effects = true;
|
||||||
_ = fix_needed.captureStdOut();
|
_ = fix_needed.captureStdOut();
|
||||||
b.getInstallStep().dependOn(&fix_needed.step);
|
b.getInstallStep().dependOn(&fix_needed.step);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue