blob: 51e049f37dabd738179cdc9b7317d221118c4560 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
}
|