From 41b61745d25a65817209dd5dddbb5f9b66896a99 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Fri, 4 Aug 2023 16:30:56 -0700 Subject: [PATCH] add module to our project for consumption --- build.zig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.zig b/build.zig index e4b94c1..cd35753 100644 --- a/build.zig +++ b/build.zig @@ -29,6 +29,11 @@ pub fn build(b: *std.Build) void { // running `zig build`). b.installArtifact(lib); + const module = b.addModule("smithy", .{ + .source_file = .{ .path = "src/smithy.zig" }, + }); + lib.addModule("smithy", module); + // Creates a step for unit testing. This only builds the test executable // but does not run it. const main_tests = b.addTest(.{