Cleanup embed paths for emsdk
This commit is contained in:
parent
c5d9cf405d
commit
ed42d5dbdc
2 changed files with 2 additions and 12 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue