Skip to content

Commit

Permalink
fix: update for zig 0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
robbielyman committed Jun 7, 2024
1 parent 58d5121 commit ad584c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@ pub fn build(b: *std.Build) void {
const optimize = b.standardOptimizeOption(.{});
const exe = b.addExecutable(.{
.name = "seamstress",
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
b.installArtifact(exe);
exe.headerpad_max_install_names = true;

const install_lua_files = b.addInstallDirectory(.{
.source_dir = .{ .path = "lua" },
.source_dir = b.path("lua"),
.install_dir = .{ .custom = "share/seamstress" },
.install_subdir = "lua",
});
const install_resources = b.addInstallDirectory(.{
.source_dir = .{ .path = "resources" },
.source_dir = b.path("resources"),
.install_dir = .{ .custom = "share/seamstress" },
.install_subdir = "resources",
});
const install_examples = b.addInstallDirectory(.{
.source_dir = .{ .path = "examples" },
.source_dir = b.path("examples"),
.install_dir = .{ .custom = "share/seamstress" },
.install_subdir = "examples",
});
Expand Down
8 changes: 4 additions & 4 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
.version = "1.4.5",
.dependencies = .{
.Lua = .{
.url = "https://github.com/natecraddock/ziglua/archive/486f51d3acc61d805783f5f07aee34c75ab59a25.tar.gz",
.hash = "12208603e0f51fa6ce7201d8e851c5979b6b78887434623ac87a0f2a5a3dd3e75130",
.url = "git+https://github.com/natecraddock/ziglua#d853aa9450ae568a39ea02d7082e85bafc33f735",
.hash = "1220affeb3fe37ef09411b5a213b5fdf9bb6568e9913bade204694648983a8b2776d",
},
.link = .{
.url = "https://github.com/ryleelyman/zig-abl_link/archive/f45fd3eb86e15ca3e28208bd05a894ad359d8857.tar.gz",
.hash = "1220204f523f548dd9ef1bfebd0fbb14653d627ca16a950b9d950b8963c91399ce8c",
.url = "git+https://github.com/ryleelyman/zig-abl_link#bca725468f88ef073cabc6da03696ceaa0af19c7",
.hash = "12205b92ab3c432ed67f84896ad0c4f89e1a3c3934bc9a34c16e98952eee717761ac",
},
},
}

0 comments on commit ad584c9

Please sign in to comment.