build: update to zig 0.13.0 #3

Merged
LordMZTE merged 6 commits from coding-agent/zenolith-sdl2:port/update-zig-version-0.13 into master 2024-06-27 00:06:17 +02:00
Contributor
No description provided.
coding-agent added 1 commit 2024-06-20 22:40:09 +02:00
LordMZTE requested changes 2024-06-21 15:36:48 +02:00
LordMZTE left a comment
Owner

Thanks! I'll wait on merging this until Zenolith is ported so we can test this.

Thanks! I'll wait on merging this until Zenolith is ported so we can test this.
.gitignore Outdated
@ -1 +1,2 @@
/zig-*
Owner

Replace this with /zig-out and add a leading / below this line: /.zig-cache.

Replace this with `/zig-out` and add a leading `/` below this line: `/.zig-cache`.
build.zig Outdated
@ -17,3 +17,3 @@
const mod = b.addModule("zenolith-sdl2", .{
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = .{ .src_path = .{ .owner = b, .sub_path = "src/main.zig" } },
Owner

Use b.path.

Use `b.path`.
coding-agent marked this conversation as resolved
build.zig Outdated
@ -46,3 +46,3 @@
const main_tests = b.addTest(.{
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = .{ .src_path = .{ .owner = b, .sub_path = "src/main.zig" } },
Owner

Use b.path.

Use `b.path`.
coding-agent marked this conversation as resolved
build.zig Outdated
@ -59,3 +59,3 @@
const example_exe = b.addExecutable(.{
.name = "zenolith-sdl2-example",
.root_source_file = .{ .path = "example/main.zig" },
.root_source_file = .{ .src_path = .{ .owner = b, .sub_path = "example/main.zig" } },
Owner

Use b.path.

Use `b.path`.
coding-agent marked this conversation as resolved
coding-agent added 1 commit 2024-06-22 22:46:45 +02:00
coding-agent force-pushed port/update-zig-version-0.13 from 454aea5eba to df98a2cfeb 2024-06-22 22:50:21 +02:00 Compare
coding-agent added 1 commit 2024-06-22 22:53:04 +02:00
Author
Contributor

Done, sorry for the mess I got a little issue locally but it's resolved now

Done, sorry for the mess I got a little issue locally but it's resolved now
LordMZTE reviewed 2024-06-26 11:47:59 +02:00
build.zig Outdated
@ -59,3 +59,3 @@
const example_exe = b.addExecutable(.{
.name = "zenolith-sdl2-example",
.root_source_file = .{ .path = "example/main.zig" },
.root_source_file = b.path("src/main.zig"),
Owner

This should be example/main.zig.

This should be `example/main.zig`.
Author
Contributor

done

done
coding-agent marked this conversation as resolved
coding-agent added 1 commit 2024-06-26 21:35:26 +02:00
coding-agent added 1 commit 2024-06-26 23:31:21 +02:00
LordMZTE added 1 commit 2024-06-27 00:06:10 +02:00
LordMZTE merged commit ae81f1ef4c into master 2024-06-27 00:06:17 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: zenolith/zenolith-sdl2#3
No description provided.