mirror of
https://github.com/fairyglade/ly.git
synced 2026-11-06 18:21:46 +00:00
Backport: Update to Zig 0.17.0
This commit is contained in:
1 parent
73fcb8646a
commit
def17ade93
12 files changed
+49
-63
No files matched your search
@@ -130,7 +130,7 @@ pub fn build(b: *std.Build) !void {
|
||||
|
||||
const run_cmd = b.addRunArtifact(exe);
|
||||
run_cmd.step.dependOn(b.getInstallStep());
|
||||
if (b.args) |args| run_cmd.addArgs(args);
|
||||
run_cmd.addPassthruArgs();
|
||||
|
||||
const run_step = b.step("run", "Run the app");
|
||||
run_step.dependOn(&run_cmd.step);
|
||||
@@ -195,7 +195,7 @@ fn getVersionStr(b: *std.Build, name: []const u8, version: std.SemanticVersion)
|
||||
const git_describe_raw = b.runAllowFail(&[_][]const u8{
|
||||
"git",
|
||||
"-C",
|
||||
b.build_root.path orelse ".",
|
||||
try b.root.toString(b.allocator),
|
||||
"describe",
|
||||
"--match",
|
||||
"*.*.*",
|
||||
|
||||
Reference in new issue
Block a user