From 44c7ac31372326cb6f471f50b8048fa85c3ded4b Mon Sep 17 00:00:00 2001 From: robin Date: Thu, 25 Jun 2026 13:33:41 +0200 Subject: [PATCH] build: remove static tar gen --- build.zig | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/build.zig b/build.zig index d91a28d..ff4a3b2 100644 --- a/build.zig +++ b/build.zig @@ -74,17 +74,7 @@ pub fn build(b: *std.Build) !void { mod.addImport("httpz", httpz.module("httpz")); exe.root_module.addImport("httpz", httpz.module("httpz")); - // static ===================================================================== - - const static_tar_cmd = b.addSystemCommand(&.{ "tar", "--create", "--directory=static" }); - const static_tar = static_tar_cmd.addPrefixedOutputFileArg("--file=", "static.tar"); - static_tar_cmd.addArg("."); - exe.root_module.addImport("static.tar", b.createModule(.{ - .root_source_file = static_tar, - })); - - var static_tar_step = b.step("static-tar", "update src/static.tar"); - static_tar_step.dependOn(&static_tar_cmd.step); + // exe ==================================================================== b.installArtifact(exe); -- 2.51.2