Switch from clap to yazap

This is compatible with the latest 0.16.0 nightly build.
It is also a bit less magic than clap.
This commit is contained in:
2025-11-29 21:20:56 -05:00
parent bd9ed88e5c
commit 41f4ee721b
4 changed files with 65 additions and 57 deletions

View File

@@ -83,8 +83,8 @@ pub fn build(b: *std.Build) void {
}),
});
const clap = b.dependency("clap", .{});
exe.root_module.addImport("clap", clap.module("clap"));
const yazap = b.dependency("yazap", .{});
exe.root_module.addImport("yazap", yazap.module("yazap"));
// This declares intent for the executable to be installed into the
// install prefix when running `zig build` (i.e. when executing the default