add module to our project for consumption
This commit is contained in:
parent
a31b4e8c3e
commit
41b61745d2
|
@ -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(.{
|
||||
|
|
Loading…
Reference in New Issue
Block a user