Skip to content

Commit

Permalink
Update for latest Zig.
Browse files Browse the repository at this point in the history
Signed-off-by: moderation <[email protected]>
  • Loading branch information
moderation committed Oct 24, 2023
1 parent 0c0ce75 commit 674a30a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.{
.name = "libxev",
.paths = .{""},
.version = "0.0.0",
}
4 changes: 2 additions & 2 deletions src/build/ScdocStep.zig
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fn make(step: *std.build.Step, progress: *std.Progress.Node) !void {
"rm -f {[path]s}/* && mkdir -p {[path]s}",
.{ .path = self.out_path },
);
_ = self.builder.exec(&[_][]const u8{ "sh", "-c", command });
_ = self.builder.run(&[_][]const u8{ "sh", "-c", command });
}

// Find all our man pages which are in our src path ending with ".scd".
Expand Down Expand Up @@ -88,7 +88,7 @@ fn make(step: *std.build.Step, progress: *std.Progress.Node) !void {
"scdoc < {s} > {s}",
.{ src, dst },
);
_ = self.builder.exec(&[_][]const u8{ "sh", "-c", command });
_ = self.builder.run(&[_][]const u8{ "sh", "-c", command });
}
}

Expand Down

0 comments on commit 674a30a

Please sign in to comment.