mirror of
https://git.robbyzambito.me/zits
synced 2026-02-04 11:44:48 +00:00
Add clap dependency
Will be used for argument parsing
This commit is contained in:
@@ -83,6 +83,9 @@ pub fn build(b: *std.Build) void {
|
||||
}),
|
||||
});
|
||||
|
||||
const clap = b.dependency("clap", .{});
|
||||
exe.root_module.addImport("clap", clap.module("clap"));
|
||||
|
||||
// This declares intent for the executable to be installed into the
|
||||
// install prefix when running `zig build` (i.e. when executing the default
|
||||
// step). By default the install prefix is `zig-out/` but can be overridden
|
||||
|
||||
Reference in New Issue
Block a user