1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

depend on zig pkg man friendly fork of facil.io

This commit is contained in:
Rene Schallner 2023-02-12 16:58:33 +01:00
parent 013b1ac3ff
commit ae06356c78
2 changed files with 3 additions and 5 deletions

View file

@ -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);
}

View file

@ -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",
}
}
}