Skip to content

Commit

Permalink
build: add fontana module so it can be imported via zig.zon
Browse files Browse the repository at this point in the history
  • Loading branch information
kdchambers committed Mar 8, 2024
1 parent 0079a78 commit 2410c83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 2410c83

Please sign in to comment.