From dcd4483c277e6de60a94ed284f927e60511bf4cc Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Sat, 22 Aug 2026 02:33:43 +0000 Subject: Begin basic HTTP server --- build.zig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 build.zig (limited to 'build.zig') 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); +} -- cgit v1.2.3