mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 22:16:08 +00:00
Compile static view content before tests
This commit is contained in:
parent
634ce40bb4
commit
bdf63673f3
@ -227,6 +227,7 @@ pub fn jetzigInit(b: *std.Build, exe: *std.Build.Step.Compile, options: JetzigIn
|
|||||||
|
|
||||||
const test_step = b.step("jetzig:test", "Run tests");
|
const test_step = b.step("jetzig:test", "Run tests");
|
||||||
test_step.dependOn(&run_exe_unit_tests.step);
|
test_step.dependOn(&run_exe_unit_tests.step);
|
||||||
|
test_step.dependOn(&run_static_routes_cmd.step);
|
||||||
exe_unit_tests.root_module.addImport("routes", routes_module);
|
exe_unit_tests.root_module.addImport("routes", routes_module);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user