mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
build.zig: rename exe_tests -> auth_tests
This commit is contained in:
parent
0bfd8235f7
commit
7c71fd9815
1 changed files with 5 additions and 5 deletions
10
build.zig
10
build.zig
|
@ -119,15 +119,15 @@ pub fn build(b: *std.build.Builder) !void {
|
|||
|
||||
// tests
|
||||
//
|
||||
const exe_tests = b.addTest(.{
|
||||
const auth_tests = b.addTest(.{
|
||||
.root_source_file = .{ .path = "src/test_auth.zig" },
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
exe_tests.linkLibrary(facil_dep.artifact("facil.io"));
|
||||
exe_tests.addModule("zap", zap_module);
|
||||
exe_tests.step.dependOn(&http_client_runner_build_step.step);
|
||||
auth_tests.linkLibrary(facil_dep.artifact("facil.io"));
|
||||
auth_tests.addModule("zap", zap_module);
|
||||
auth_tests.step.dependOn(&http_client_runner_build_step.step);
|
||||
|
||||
const test_step = b.step("test", "Run unit tests");
|
||||
test_step.dependOn(&exe_tests.step);
|
||||
test_step.dependOn(&auth_tests.step);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue