mirror of
https://github.com/fairyglade/ly.git
synced 2026-11-05 09:41:43 +00:00
Update to Zig 0.17.0 (#1028)
Now compiles! (Tested with Zig 0.17.0-dev.2375+d8aab4878) ## What are the changes about? Updates dependencies & code for Zig 0.17.0 compatibility. ## What existing issue(s) does this resolve? N/A ## Pre-requisites - [x] I have tested & confirmed the changes work locally - [x] I have read and fully adhere to the rules set in the contributing guidelines found in `CONTRIBUTING.md` Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/1028
This commit is contained in:
1 parent
55de3bc26c
commit
f1fc335bb8
13 files changed
+91
-87
No files matched your search
@@ -123,7 +123,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);
|
||||
@@ -188,7 +188,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