From ae06356c78c9890a0dc6b9095dfd3afe39af60d6 Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Sun, 12 Feb 2023 16:58:33 +0100 Subject: [PATCH] depend on zig pkg man friendly fork of facil.io --- build.zig | 4 +--- build.zig.zon | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/build.zig b/build.zig index aa49e5d..49799f0 100644 --- a/build.zig +++ b/build.zig @@ -62,15 +62,13 @@ pub fn build(b: *std.build.Builder) !void { }); example.linkLibrary(facil_dep.artifact("facil.io")); + example.addModule("zap", zap_module); const example_run = example.run(); example_run_step.dependOn(&example_run.step); // install the artifact - depending on the "example" - // only after the ensure step - // the step invoked via `zig build example` on the installed exe which - // itself depends on the "ensure" step const example_build_step = b.addInstallArtifact(example); example_step.dependOn(&example_build_step.step); } diff --git a/build.zig.zon b/build.zig.zon index ff5fe63..a791b64 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -4,8 +4,8 @@ .dependencies = .{ .@"facil.io" = .{ - .url = "https://github.com/renerocksai/facil.io/archive/e49f2bb79bcfaabebc80df770bc9295b808f4d22.tar.gz", - .hash = "1220542d21851b6ff0decaa664f2df25251cb8f65a20a2d1ea5d8b039096c3ff641b", + .url = "https://github.com/renerocksai/facil.io/archive/2c04cd1949328dd62fe5d262b9cc930e54392ab8.tar.gz", + .hash = "12209d3b552145f24431e5a2e6a4ad59ceaa9656f7fba8af7a8aa704a8784a79f55d", } } }