diff --git a/.gitignore b/.gitignore index feda423c1..8ee9b4ca2 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,7 @@ # Cheers! # -andrewrk -zig-cache/ +.zig-cache/ zig-out/ /release/ /debug/ diff --git a/build.zig b/build.zig index 33cdfa4a5..be1215260 100644 --- a/build.zig +++ b/build.zig @@ -8,13 +8,13 @@ pub fn build(b: *std.Build) !void { var module = b.addModule("mach-glfw", .{ .target = target, .optimize = optimize, - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), }); const test_step = b.step("test", "Run library tests"); const main_tests = b.addTest(.{ .name = "glfw-tests", - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, }); @@ -35,6 +35,6 @@ pub fn build(b: *std.Build) !void { comptime { const supported_zig = std.SemanticVersion.parse("0.13.0-dev.351+64ef45eb0") catch unreachable; if (builtin.zig_version.order(supported_zig) != .eq) { - @compileError(std.fmt.comptimePrint("unsupported Zig version ({}). Required Zig version 2024.3.0-mach: https://machengine.org/about/nominated-zig/#202430-mach", .{builtin.zig_version})); + @compileError(std.fmt.comptimePrint("unsupported Zig version ({}). Required Zig version 2024.5.0-mach: https://machengine.org/about/nominated-zig/#202450-mach", .{builtin.zig_version})); } } diff --git a/build.zig.zon b/build.zig.zon index 82c54dcb0..7082b386a 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -12,8 +12,8 @@ }, .dependencies = .{ .glfw = .{ - .url = "https://pkg.machengine.org/glfw/98b4bca1542156dcedc6ab87b365a7ac61d1b77b.tar.gz", - .hash = "12202b5b936e38c0ebf384de6b3c8e7771b1f17ba952c3fc8e3a0c852fc4710b537a", + .url = "https://pkg.machengine.org/glfw/e6f377baed70a7bef9fa08d808f40b64c5136bf6.tar.gz", + .hash = "1220c15e66c13f9633fcfd50b5ed265f74f2950c98b1f1defd66298fa027765e0190", }, }, }