aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 799aebb..3ac3e80 100644
--- a/build.zig
+++ b/build.zig
@@ -22,6 +22,12 @@ pub fn build(b: *std.build.Builder) void {
run_cmd.addArgs(args);
}
+ const tui = b.addExecutable("zigfunge98-tui", "src/tui.zig");
+ tui.addPackagePath("spoon", "lib/spoon/import.zig");
+ tui.setTarget(target);
+ tui.setBuildMode(mode);
+ tui.install();
+
const coverage = b.option(bool, "test-coverage", "Generate test coverage") orelse false;
const run_step = b.step("run", "Run the app");