update to new version

This commit is contained in:
2026-02-13 22:24:15 +01:00
parent a5737a1322
commit 447c2e8457
4 changed files with 14 additions and 14 deletions

View File

@@ -18,7 +18,6 @@ pub fn build(b: *std.Build) void {
const raylib_dep = b.dependency("raylib_zig", .{
.target = target,
.optimize = optimize,
.shared = true,
});
const raylib = raylib_dep.module("raylib");
@@ -43,13 +42,8 @@ pub fn build(b: *std.Build) void {
const run_step = b.step("run", "Run the app");
run_step.dependOn(&run_cmd.step);
const main_tests = b.addTest(.{ .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize });
const game_tests = b.addTest(.{ .root_source_file = b.path("src/game.zig"), .target = target, .optimize = optimize });
const run_exe_main_tests = b.addRunArtifact(main_tests);
const run_exe_game_tests = b.addRunArtifact(game_tests);
const tests = b.addTest(.{ .root_module = exe_mod });
const run_tests = b.addRunArtifact(tests);
const test_step = b.step("test", "Run unit tests");
test_step.dependOn(&run_exe_main_tests.step);
test_step.dependOn(&run_exe_game_tests.step);
test_step.dependOn(&run_tests.step);
}