authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-02-15 22:09:21 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-02-15 22:09:21 -08:00
logb1df1f0d3561f2ff59ccddacd9b5c8efdaec2cf2
treeea66865e07d15e8c072f030c12b8ccfe8fc43ad1
parent6af6b871d79fb32cd4960dcdabb7a36a94c7e1cd

remove run step


2 files changed, 0 insertions(+), 27 deletions(-)

build.zig-22
......@@ -6,28 +6,6 @@ pub fn build(b: *std.Build) void {
66 const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug;
77 const disable_llvm = b.option(bool, "disable_llvm", "use the non-llvm zig codegen") orelse false;
88
9 const exe = b.addExecutable(.{
10 .name = "zig-color",
11 .root_source_file = b.path("main.zig"),
12 .target = target,
13 .optimize = mode,
14 });
15 deps.addAllTo(exe);
16 exe.use_llvm = !disable_llvm;
17 exe.use_lld = !disable_llvm;
18 b.installArtifact(exe);
19
20 const run_cmd = b.addRunArtifact(exe);
21
22 run_cmd.step.dependOn(b.getInstallStep());
23
24 if (b.args) |args| {
25 run_cmd.addArgs(args);
26 }
27
28 const run_step = b.step("run", "Run the app");
29 run_step.dependOn(&run_cmd.step);
30
319 const tests = b.addTest(.{
3210 .root_source_file = b.path("test.zig"),
3311 .target = target,
main.zig deleted-5
......@@ -1,5 +0,0 @@
1const std = @import("std");
2
3pub fn main() !void {
4 std.debug.print("All your {s} are belong to us.\n", .{"codebase"});
5}