Skip to content

Commit ad584c9

Browse files
committed
fix: update for zig 0.13
1 parent 58d5121 commit ad584c9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

build.zig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ pub fn build(b: *std.Build) void {
55
const optimize = b.standardOptimizeOption(.{});
66
const exe = b.addExecutable(.{
77
.name = "seamstress",
8-
.root_source_file = .{ .path = "src/main.zig" },
8+
.root_source_file = b.path("src/main.zig"),
99
.target = target,
1010
.optimize = optimize,
1111
});
1212
b.installArtifact(exe);
1313
exe.headerpad_max_install_names = true;
1414

1515
const install_lua_files = b.addInstallDirectory(.{
16-
.source_dir = .{ .path = "lua" },
16+
.source_dir = b.path("lua"),
1717
.install_dir = .{ .custom = "share/seamstress" },
1818
.install_subdir = "lua",
1919
});
2020
const install_resources = b.addInstallDirectory(.{
21-
.source_dir = .{ .path = "resources" },
21+
.source_dir = b.path("resources"),
2222
.install_dir = .{ .custom = "share/seamstress" },
2323
.install_subdir = "resources",
2424
});
2525
const install_examples = b.addInstallDirectory(.{
26-
.source_dir = .{ .path = "examples" },
26+
.source_dir = b.path("examples"),
2727
.install_dir = .{ .custom = "share/seamstress" },
2828
.install_subdir = "examples",
2929
});

build.zig.zon

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
.version = "1.4.5",
1111
.dependencies = .{
1212
.Lua = .{
13-
.url = "https://github.com/natecraddock/ziglua/archive/486f51d3acc61d805783f5f07aee34c75ab59a25.tar.gz",
14-
.hash = "12208603e0f51fa6ce7201d8e851c5979b6b78887434623ac87a0f2a5a3dd3e75130",
13+
.url = "git+https://github.com/natecraddock/ziglua#d853aa9450ae568a39ea02d7082e85bafc33f735",
14+
.hash = "1220affeb3fe37ef09411b5a213b5fdf9bb6568e9913bade204694648983a8b2776d",
1515
},
1616
.link = .{
17-
.url = "https://github.com/ryleelyman/zig-abl_link/archive/f45fd3eb86e15ca3e28208bd05a894ad359d8857.tar.gz",
18-
.hash = "1220204f523f548dd9ef1bfebd0fbb14653d627ca16a950b9d950b8963c91399ce8c",
17+
.url = "git+https://github.com/ryleelyman/zig-abl_link#bca725468f88ef073cabc6da03696ceaa0af19c7",
18+
.hash = "12205b92ab3c432ed67f84896ad0c4f89e1a3c3934bc9a34c16e98952eee717761ac",
1919
},
2020
},
2121
}

0 commit comments

Comments
 (0)