mirror of
https://github.com/bdnugget/raylib-zig.git
synced 2026-11-07 06:07:27 +00:00
Cleanup embed paths for emsdk
This commit is contained in:
2 files changed
+2
-12
No files matched your search
+1
-6
@@ -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);
|
||||
|
||||
|
||||
+1
-6
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user