From 3497d178379d34c604fd88aa41b8b6a8de6429bc Mon Sep 17 00:00:00 2001 From: andromeda Date: Thu, 11 Jun 2026 22:13:11 +0200 Subject: init --- build.zig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 build.zig (limited to 'build.zig') diff --git a/build.zig b/build.zig new file mode 100644 index 0000000..e837ad5 --- /dev/null +++ b/build.zig @@ -0,0 +1,17 @@ +const std = @import("std"); + +pub fn build(b: *std.Build) void { + const exe = b.addExecutable(.{ + .name = "term", + .root_module = b.createModule(.{ + .root_source_file = b.path("main.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); +} -- cgit v1.3.1