add module to our project for consumption

This commit is contained in:
Emil Lerch 2023-08-04 16:30:56 -07:00
parent a31b4e8c3e
commit 41b61745d2
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -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(.{