We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67f03a8 commit 23d1998Copy full SHA for 23d1998
1 file changed
build.zig
@@ -13,6 +13,17 @@ pub fn build(b: *std.Build) void {
13
14
b.installArtifact(lib);
15
16
+ const check = b.addStaticLibrary(.{
17
+ .name = "Fluent",
18
+ .root_source_file = b.path("fluent.zig"),
19
+ .target = target,
20
+ .optimize = optimize,
21
+ .use_llvm = false,
22
+ .use_lld = false,
23
+ });
24
+ const check_step = b.step("check", "check if the code compiles");
25
+ check_step.dependOn(&check.step);
26
+
27
_ = b.addModule("Fluent", .{
28
.root_source_file = b.path("fluent.zig"),
29
.target = target,
0 commit comments