From 2410c831785604fa4292c638abc884c4cdc8ef4a Mon Sep 17 00:00:00 2001 From: kdchambers Date: Thu, 7 Mar 2024 21:02:30 -0500 Subject: [PATCH] build: add fontana module so it can be imported via zig.zon --- build.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.zig b/build.zig index e11c088..1f6d406 100644 --- a/build.zig +++ b/build.zig @@ -16,6 +16,10 @@ pub fn build(b: *Build) void { const run_test_cmd = b.addRunArtifact(unit_tests); run_test_cmd.step.dependOn(b.getInstallStep()); + _ = b.addModule("fontana", .{ + .root_source_file = .{ .path = "src/fontana.zig" }, + }); + const test_step = b.step("test", "Run library tests"); test_step.dependOn(&run_test_cmd.step); }