chore: update zig build API

This commit is contained in:
LordMZTE 2023-05-06 00:03:55 +02:00
parent 2db8b32890
commit add3cc5215
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -21,9 +21,9 @@ pub fn build(b: *std.Build) void {
exe.linkSystemLibrary("gdk-pixbuf-2.0");
exe.linkSystemLibrary("notify");
exe.install();
b.installArtifact(exe);
const run_cmd = exe.run();
const run_cmd = b.addRunArtifact(exe);
run_cmd.step.dependOn(b.getInstallStep());