diff options
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); +} |
