mirror of
https://github.com/raylib-zig/raylib-zig.git
synced 2025-12-06 06:13:08 +00:00
Cleanup embed paths for emsdk
This commit is contained in:
parent
c5d9cf405d
commit
ed42d5dbdc
@ -58,13 +58,8 @@ pub fn build(b: *std.Build) !void {
|
||||
.flags = emcc_flags,
|
||||
.settings = emcc_settings,
|
||||
.shell_file_path = emsdk.shell(raylib_dep.builder),
|
||||
.embed_paths = &.{
|
||||
.{
|
||||
.src_path = b.pathJoin(&.{ "resources" }),
|
||||
.virtual_path = "resources",
|
||||
},
|
||||
},
|
||||
.install_dir = install_dir,
|
||||
.embed_paths = &.{.{ .src_path = "resources/" }},
|
||||
});
|
||||
b.getInstallStep().dependOn(emcc_step);
|
||||
|
||||
|
||||
@ -55,13 +55,8 @@ pub fn build(b: *std.Build) !void {
|
||||
.flags = emcc_flags,
|
||||
.settings = emcc_settings,
|
||||
.shell_file_path = emsdk.shell(raylib_dep.builder),
|
||||
.embed_paths = &.{
|
||||
.{
|
||||
.src_path = b.pathJoin(&.{ "resources" }),
|
||||
.virtual_path = "resources",
|
||||
},
|
||||
},
|
||||
.install_dir = install_dir,
|
||||
.embed_paths = &.{.{ .src_path = "resources/" }},
|
||||
});
|
||||
b.getInstallStep().dependOn(emcc_step);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user