From 93e7e42605a5f62519c30c86ab65bd529edb3389 Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Tue, 2 Jul 2024 21:18:56 +0300 Subject: still borken --- build.zig | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'build.zig') diff --git a/build.zig b/build.zig index 9a66a59..94ee88f 100644 --- a/build.zig +++ b/build.zig @@ -54,16 +54,6 @@ pub fn build(b: *std.Build) void { const run_step = b.step("run", "Run the app"); run_step.dependOn(&run_cmd.step); - // Creates a step for unit testing. This only builds the test executable - // but does not run it. - const lib_unit_tests = b.addTest(.{ - .root_source_file = b.path("src/root.zig"), - .target = target, - .optimize = optimize, - }); - - const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests); - const exe_unit_tests = b.addTest(.{ .root_source_file = b.path("src/main.zig"), .target = target, @@ -76,6 +66,5 @@ pub fn build(b: *std.Build) void { // the `zig build --help` menu, providing a way for the user to request // running the unit tests. const test_step = b.step("test", "Run unit tests"); - test_step.dependOn(&run_lib_unit_tests.step); test_step.dependOn(&run_exe_unit_tests.step); } -- cgit 1.4.1-2-gfad0