From fd3a727f4b4f819178225cdd87d8788b85c4b86c Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Thu, 11 Jul 2024 01:05:11 +0300 Subject: some fixes and dummy neuron --- build.zig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build.zig') 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 { -- cgit 1.4.1-2-gfad0