diff options
author | makefunstuff <[email protected]> | 2024-07-11 00:05:11 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-07-11 00:05:11 +0200 |
commit | fd3a727f4b4f819178225cdd87d8788b85c4b86c (patch) | |
tree | 58c6ee139f7768ec739477354af0faf001b2d40d /build.zig | |
parent | e5a064e82fe7d36f4423abdf798f9f1f0a90ae0e (diff) | |
download | tinkerbunk-fd3a727f4b4f819178225cdd87d8788b85c4b86c.tar.gz |
some fixes and dummy neuron
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 5 |
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 { |