From cfd3eb78545a8e479c89d014e147f246d11a1102 Mon Sep 17 00:00:00 2001 From: "David P. Sugar" Date: Sat, 30 Sep 2023 18:52:18 +0200 Subject: [PATCH] to build example authenticator run . Make sure you have libnotify installed --- build.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 6ac7965..d38998d 100644 --- a/build.zig +++ b/build.zig @@ -57,7 +57,9 @@ pub fn build(b: *std.build.Builder) !void { authenticator.addModule("snorlax", snorlax_module); authenticator.linkSystemLibrary("libnotify"); authenticator.linkLibC(); - b.installArtifact(authenticator); + + const build_auth_step = b.step("auth", "Build example platform authenticator"); + build_auth_step.dependOn(&b.addInstallArtifact(authenticator, .{}).step); // ++++++++++++++++++++++++++++++++++++++++++++ // Command Line Tool