build: fix root source file path

This commit is contained in:
Marcius 2024-06-26 20:34:15 +01:00
parent 098abc3f70
commit 8c42cd9741
2 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ pub fn build(b: *std.Build) !void {
const example_exe = b.addExecutable(.{
.name = "zenolith-sdl2-example",
.root_source_file = b.path("src/main.zig"),
.root_source_file = b.path("example/main.zig"),
.target = target,
.optimize = optimize,
});

View file

@ -9,8 +9,8 @@
.dependencies = .{
.zenolith = .{
.url = "git+https://git.mzte.de/zenolith/zenolith.git#4e67de14b301048e73499f2ff46800b87b923609",
.hash = "1220236794547a0f13870e5c2d2b00e02571f3beee219303d2843e9aedc1b0eaf015",
.url = "git+https://git.mzte.de/coding-agent/zenolith#b5de5e14104675b76caa246a20a45f991bb9f2c1",
.hash = "1220f1e479d85174b8d07cbcd676b10ec02c06a22e36e820eff8af089b47f972829f",
},
.sdl2 = .{