We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23d1998 commit 50253e4Copy full SHA for 50253e4
2 files changed
build.zig
@@ -24,6 +24,16 @@ pub fn build(b: *std.Build) void {
24
const check_step = b.step("check", "check if the code compiles");
25
check_step.dependOn(&check.step);
26
27
+ const lib_unit_tests = b.addTest(.{
28
+ .root_source_file = b.path("fluent.zig"),
29
+ .target = target,
30
+ .optimize = optimize,
31
+ });
32
+
33
+ const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests);
34
+ const test_step = b.step("test", "Run unit tests");
35
+ test_step.dependOn(&run_lib_unit_tests.step);
36
37
_ = b.addModule("Fluent", .{
38
.root_source_file = b.path("fluent.zig"),
39
.target = target,
0 commit comments