diff --git a/build.zig b/build.zig index c84f2ab..be0e7f3 100644 --- a/build.zig +++ b/build.zig @@ -36,6 +36,8 @@ pub fn build(b: *std.build.Builder) !void { const facil_install_step = b.addInstallArtifact(facil_lib); b.getInstallStep().dependOn(&facil_install_step.step); + const all_step = b.step("all", "build all examples"); + inline for ([_]struct { name: []const u8, src: []const u8, @@ -96,6 +98,7 @@ pub fn build(b: *std.build.Builder) !void { // install the artifact - depending on the "example" const example_build_step = b.addInstallArtifact(example); example_step.dependOn(&example_build_step.step); + all_step.dependOn(&example_build_step.step); } // @@ -187,6 +190,7 @@ pub fn build(b: *std.build.Builder) !void { var pkghash_step = b.step("pkghash", "Build pkghash"); const pkghash_build_step = b.addInstallArtifact(pkghash_exe); pkghash_step.dependOn(&pkghash_build_step.step); + all_step.dependOn(&pkghash_build_step.step); // // announceybot @@ -200,4 +204,5 @@ pub fn build(b: *std.build.Builder) !void { var announceybot_step = b.step("announceybot", "Build announceybot"); const announceybot_build_step = b.addInstallArtifact(announceybot_exe); announceybot_step.dependOn(&announceybot_build_step.step); + all_step.dependOn(&announceybot_build_step.step); } diff --git a/build.zig.zon b/build.zig.zon index d3dab14..5b5ac90 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,11 +1,11 @@ .{ .name = "zap", - .version = "0.1.8-pre", + .version = "0.1.9-pre", .dependencies = .{ .@"facil.io" = .{ - .url = "https://github.com/zigzap/facil.io/archive/refs/tags/zap-0.0.10.tar.gz", - .hash = "12205e49e9c2c6f0dcab9423fc92d8f0450a4dc2706b68a6d45a448a738ebff70103", + .url = "https://github.com/zigzap/facil.io/archive/refs/tags/zap-0.0.11.tar.gz", + .hash = "1220aeeb78554b41e8b4a61eca7f29031cca7cb31d935c5583db17c0bb1439b87334", } } }