diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2026-08-22 02:33:43 +0000 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-08-22 02:33:43 +0000 |
| commit | dcd4483c277e6de60a94ed284f927e60511bf4cc (patch) | |
| tree | ebdb499ca3b6dd4fb1ba8b8f10d63af6a1a20bab /build.zig | |
Begin basic HTTP server
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build.zig b/build.zig new file mode 100644 index 0000000..51e049f --- /dev/null +++ b/build.zig @@ -0,0 +1,14 @@ +const std = @import("std"); + +pub fn build(b: *std.Build) void { + const exe = b.addExecutable(.{ + .name = "http", + .root_module = b.createModule(.{ .root_source_file = b.path("http.zig"), .target = b.graph.host }), + }); + + b.installArtifact(exe); + + const run_exe = b.addRunArtifact(exe); + const run_step = b.step("run", "Run the application"); + run_step.dependOn(&run_exe.step); +} |
