forked from zenolith/zenolith
build: port to zig 0.13.0
This commit is contained in:
parent
4e67de14b3
commit
b0ecde1e15
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
/zig-*
|
||||
/.zig-cache
|
||||
|
|
|
@ -7,7 +7,7 @@ pub fn build(b: *std.Build) void {
|
|||
const statspatch_dep = b.dependency("statspatch", .{ .target = target, .optimize = optimize });
|
||||
|
||||
_ = b.addModule("zenolith", .{
|
||||
.root_source_file = .{ .path = "src/main.zig" },
|
||||
.root_source_file = b.path("src/main.zig"),
|
||||
.imports = &.{.{
|
||||
.name = "statspatch",
|
||||
.module = statspatch_dep.module("statspatch"),
|
||||
|
@ -15,7 +15,7 @@ pub fn build(b: *std.Build) void {
|
|||
});
|
||||
|
||||
const main_tests = b.addTest(.{
|
||||
.root_source_file = .{ .path = "src/main.zig" },
|
||||
.root_source_file = b.path("src/main.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue