Skip to content

Commit

Permalink
πŸ’š add missing dependencies for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelStark committed Sep 3, 2024
1 parent 69c0d98 commit a86cac6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ pub fn build(b: *std.Build) !void {
.optimize = optimize,
});

// Add dependency modules to the library.
for (deps) |mod| lib_unit_tests.root_module.addImport(
mod.name,
mod.module,
);

const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests);

const exe_unit_tests = b.addTest(.{
Expand Down

0 comments on commit a86cac6

Please sign in to comment.