Open History to see the last commit
1const std = @import("std");
2
3pub fn build(b: *std.Build) void {
4 const target = b.standardTargetOptions(.{});
5 const optimize = b.standardOptimizeOption(.{});
6
7 const root_module = b.createModule(.{
8 .root_source_file = b.path("src/main.zig"),
9 .target = target,
10 .optimize = optimize,
11 });
12
13 const exe = b.addExecutable(.{
14 .name = "ag-ui-zig",
15 .root_module = root_module,
16 });
17
18 b.installArtifact(exe);
19
20 const run_step = b.addRunArtifact(exe);
21 const run_cmd = b.step("run", "Run the AG-UI Zig server");
22 run_cmd.dependOn(&run_step.step);
23}