archives support, builds .exe as well now

This commit is contained in:
2026-05-30 12:14:23 +02:00
parent 5a6fe38190
commit 7a537926fc
4 changed files with 19 additions and 1 deletions
+11
View File
@@ -19,6 +19,17 @@ pub fn build(b: *std.Build) void {
b.installArtifact(exe);
const exe_win = b.addExecutable(.{
.name = "file_organizer",
.root_module = b.createModule(.{
.root_source_file = b.path("src/main.zig"),
.target = b.resolveTargetQuery(.{ .cpu_arch = .x86_64, .os_tag = .windows }),
.optimize = optimize,
}),
});
b.installArtifact(exe_win);
const run_step = b.step("run", "Run the app");
const run_cmd = b.addRunArtifact(exe);