Add create_vendor_tarball.sh using zig-pkg

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion 2026-04-25 14:35:04 +02:00
commit 68841c505b
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -67,6 +67,7 @@ pub fn build(b: *std.Build) !void {
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
.link_libc = true,
}),
.use_llvm = true,
});
@ -81,7 +82,6 @@ pub fn build(b: *std.Build) !void {
exe.root_module.linkSystemLibrary("pam", .{});
if (enable_x11_support) exe.root_module.linkSystemLibrary("xcb", .{});
exe.root_module.link_libc = true;
b.installArtifact(exe);

2
create_vendor_tarball.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
tar --zstd -cvf vendor.tar.zst zig-pkg ly-ui/zig-pkg ly-core/zig-pkg