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

for now: skip http in zig build all

This commit is contained in:
Rene Schallner 2023-12-29 23:38:58 +01:00
parent 56cead12a6
commit 39b543a45e

View file

@ -84,8 +84,14 @@ 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);
// ignore https in all because of required -Dopenssl=true
// TODO: fix GH pipeline to take care of that
// or: auto-provide openssl for https in build.zig
if (!std.mem.eql(u8, ex_name, "https")) {
all_step.dependOn(&example_build_step.step);
}
}
//
// TOOLS & TESTING