Skip to content

Commit

Permalink
Fix docs not working because of module names
Browse files Browse the repository at this point in the history
  • Loading branch information
pyotrk committed May 25, 2026
1 parent 2e352ec commit 7d0a15a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub fn build(b: *std.Build) !void {
.optimize = optimize,
});
const lib_module = lib_dep.module("crdt_lib");
const lib_test = b.addTest(.{ .root_module = lib_module, .name = "lib tests" });
const lib_test = b.addTest(.{ .root_module = lib_module, .name = "crdt_lib" });
const lib_test_run = b.addRunArtifact(lib_test);

const server_module = b.addModule("crdt_server", .{
Expand All @@ -18,7 +18,7 @@ pub fn build(b: *std.Build) !void {
.optimize = optimize,
});
server_module.addImport("crdt", lib_module);
const server_test = b.addTest(.{ .root_module = server_module, .name = "server tests" });
const server_test = b.addTest(.{ .root_module = server_module, .name = "crdt_server" });
const server_test_run = b.addRunArtifact(server_test);

const server_main = b.createModule(.{
Expand Down

0 comments on commit 7d0a15a

Please sign in to comment.