summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 24dfe54..8b32d17 100644
--- a/build.zig
+++ b/build.zig
@@ -24,6 +24,9 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
});
+ // for zig module system
+ _ = b.addModule("zigwebserver", .{ .source_file = .{ .path = "src/zigwebserver.zig" } });
+
// This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default
// step when running `zig build`).