Application Context Implementation #4
|
@ -36,6 +36,7 @@ pub fn build(builder: *std.build.Builder) void {
|
||||||
{
|
{
|
||||||
const tests = builder.addTestExe("test", "./src/tests.zig");
|
const tests = builder.addTestExe("test", "./src/tests.zig");
|
||||||
|
|
||||||
|
tests.addPackage(core_pkg);
|
||||||
tests.setTarget(target);
|
tests.setTarget(target);
|
||||||
tests.setBuildMode(mode);
|
tests.setBuildMode(mode);
|
||||||
builder.step("test", "Run unit tests").dependOn(&tests.step);
|
builder.step("test", "Run unit tests").dependOn(&tests.step);
|
||||||
|
|
Loading…
Reference in New Issue