aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorJulien Dessaux2022-12-03 14:44:50 +0100
committerJulien Dessaux2022-12-03 15:07:57 +0100
commit0bf0375200d28e558f036103b9a19976f8d45872 (patch)
tree91dd1e3ddc0e3fa965e867e628eebdac42d78f2c /build.zig
parentFixed bugs from zig 0.10 upgrade (some real!) (diff)
downloadzigfunge98-0bf0375200d28e558f036103b9a19976f8d45872.tar.gz
zigfunge98-0bf0375200d28e558f036103b9a19976f8d45872.tar.bz2
zigfunge98-0bf0375200d28e558f036103b9a19976f8d45872.zip
Began writing a debugging tui
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");