mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 23:24:09 +00:00
depend on zig pkg man friendly fork of facil.io
This commit is contained in:
parent
013b1ac3ff
commit
ae06356c78
2 changed files with 3 additions and 5 deletions
|
@ -62,15 +62,13 @@ pub fn build(b: *std.build.Builder) !void {
|
||||||
});
|
});
|
||||||
|
|
||||||
example.linkLibrary(facil_dep.artifact("facil.io"));
|
example.linkLibrary(facil_dep.artifact("facil.io"));
|
||||||
|
|
||||||
example.addModule("zap", zap_module);
|
example.addModule("zap", zap_module);
|
||||||
|
|
||||||
const example_run = example.run();
|
const example_run = example.run();
|
||||||
example_run_step.dependOn(&example_run.step);
|
example_run_step.dependOn(&example_run.step);
|
||||||
|
|
||||||
// install the artifact - depending on the "example"
|
// 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);
|
const example_build_step = b.addInstallArtifact(example);
|
||||||
example_step.dependOn(&example_build_step.step);
|
example_step.dependOn(&example_build_step.step);
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
.dependencies = .{
|
.dependencies = .{
|
||||||
.@"facil.io" = .{
|
.@"facil.io" = .{
|
||||||
.url = "https://github.com/renerocksai/facil.io/archive/e49f2bb79bcfaabebc80df770bc9295b808f4d22.tar.gz",
|
.url = "https://github.com/renerocksai/facil.io/archive/2c04cd1949328dd62fe5d262b9cc930e54392ab8.tar.gz",
|
||||||
.hash = "1220542d21851b6ff0decaa664f2df25251cb8f65a20a2d1ea5d8b039096c3ff641b",
|
.hash = "12209d3b552145f24431e5a2e6a4ad59ceaa9656f7fba8af7a8aa704a8784a79f55d",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue