From 9c3ac846121a03934c7460cc54989059b1f66b22 Mon Sep 17 00:00:00 2001 From: travisstaloch Date: Sun, 26 Feb 2023 10:05:56 -0800 Subject: [PATCH] build: expose 'clap' module for dependeees (#92) Co-authored-by: Andrew Kelley --- build.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.zig b/build.zig index 0167d79..13c7c4b 100644 --- a/build.zig +++ b/build.zig @@ -4,6 +4,8 @@ pub fn build(b: *std.Build) void { const optimize = b.standardOptimizeOption(.{}); const target = b.standardTargetOptions(.{}); + b.addModule(.{ .name = "clap", .source_file = .{ .path = "clap.zig" } }); + const test_step = b.step("test", "Run all tests in all modes."); const tests = b.addTest(.{ .root_source_file = .{ .path = "clap.zig" },