build: expose 'clap' module for dependeees (#92)

Co-authored-by: Andrew Kelley <andrew@ziglang.org>
This commit is contained in:
travisstaloch 2023-02-26 10:05:56 -08:00 committed by GitHub
parent 861de651f3
commit 9c3ac84612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" },