mirror of
https://github.com/bdnugget/raylib-zig.git
synced 2026-11-07 06:07:27 +00:00
Fix project templates (#278)
This commit is contained in:
2 files changed
+6
-6
No files matched your search
+3
-3
@@ -60,7 +60,7 @@ pub fn build(b: *std.Build) !void {
|
||||
.shell_file_path = emsdk.shell(raylib_dep.builder),
|
||||
.embed_paths = &.{
|
||||
.{
|
||||
.src_path = b.pathJoin(&.{ module_subpath, "resources" }),
|
||||
.src_path = b.pathJoin(&.{ "resources" }),
|
||||
.virtual_path = "resources",
|
||||
},
|
||||
},
|
||||
@@ -94,8 +94,8 @@ pub fn build(b: *std.Build) !void {
|
||||
|
||||
New-Item -Name "build.zig" -ItemType "file" -Value $BUILD_DOT_ZIG -Force
|
||||
|
||||
zig fetch --save git+https://github.com/Not-Nik/raylib-zig#devel
|
||||
zig fetch --save git+https://github.com/emscripten-core/emsdk#4.0.9
|
||||
zig fetch --save git+https://github.com/raylib-zig/raylib-zig#devel
|
||||
zig fetch --save=emsdk git+https://github.com/emscripten-core/emsdk#4.0.9
|
||||
|
||||
New-Item -Name "resources" -ItemType "directory"
|
||||
New-Item -Name "resources/placeholder.txt" -ItemType "file" -Value "" -Force
|
||||
|
||||
+3
-3
@@ -57,7 +57,7 @@ pub fn build(b: *std.Build) !void {
|
||||
.shell_file_path = emsdk.shell(raylib_dep.builder),
|
||||
.embed_paths = &.{
|
||||
.{
|
||||
.src_path = b.pathJoin(&.{ module_subpath, "resources" }),
|
||||
.src_path = b.pathJoin(&.{ "resources" }),
|
||||
.virtual_path = "resources",
|
||||
},
|
||||
},
|
||||
@@ -88,8 +88,8 @@ pub fn build(b: *std.Build) !void {
|
||||
}
|
||||
}' >> build.zig
|
||||
|
||||
zig fetch --save git+https://github.com/Not-Nik/raylib-zig#devel
|
||||
zig fetch --save git+https://github.com/emscripten-core/emsdk#4.0.9
|
||||
zig fetch --save git+https://github.com/raylib-zig/raylib-zig#devel
|
||||
zig fetch --save=emsdk git+https://github.com/emscripten-core/emsdk#4.0.9
|
||||
|
||||
mkdir resources
|
||||
touch resources/placeholder.txt
|
||||
|
||||
Reference in new issue
Block a user