about summary refs log tree commit diff
path: root/build.zig
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-07-11 00:05:11 +0200
committermakefunstuff <[email protected]>2024-07-11 00:05:11 +0200
commitfd3a727f4b4f819178225cdd87d8788b85c4b86c (patch)
tree58c6ee139f7768ec739477354af0faf001b2d40d /build.zig
parente5a064e82fe7d36f4423abdf798f9f1f0a90ae0e (diff)
downloadtinkerbunk-fd3a727f4b4f819178225cdd87d8788b85c4b86c.tar.gz
some fixes and dummy neuron
Diffstat (limited to '')
-rw-r--r--build.zig5
1 files changed, 2 insertions, 3 deletions
diff --git a/build.zig b/build.zig
index aea990e..9b16a14 100644
--- a/build.zig
+++ b/build.zig
@@ -23,10 +23,9 @@ fn define_subproj(name: []const u8, b: *std.Build, target: std.Build.ResolvedTar
     run_step.dependOn(&run_cmd.step);
 
     const test_exe = b.addTest(.{ .root_source_file = b.path(test_path), .target = target, .optimize = optimize });
-
-    const test_cmd = b.addRunArtifact(test_exe);
+    const run_unit_tests = b.addRunArtifact(test_exe);
     const test_step = b.step(test_task_name, test_task_desc);
-    test_step.dependOn(&test_cmd.step);
+    test_step.dependOn(&run_unit_tests.step);
 }
 
 pub fn build(b: *std.Build) !void {