mirror of
https://github.com/Not-Nik/raylib-zig.git
synced 2025-09-09 12:07:27 +00:00
Update project setup script
This commit is contained in:
parent
a861917f5a
commit
8136c8ee92
@ -8,7 +8,7 @@ fi
|
|||||||
|
|
||||||
mkdir "$PROJECT_NAME" && cd "$PROJECT_NAME" || exit
|
mkdir "$PROJECT_NAME" && cd "$PROJECT_NAME" || exit
|
||||||
touch build.zig
|
touch build.zig
|
||||||
echo "generating project files..."
|
echo "Generating project files..."
|
||||||
echo 'const std = @import("std");
|
echo 'const std = @import("std");
|
||||||
const emcc = @import("emcc.zig");
|
const emcc = @import("emcc.zig");
|
||||||
|
|
||||||
@ -63,15 +63,16 @@ echo '.{
|
|||||||
.version = "0.0.1",
|
.version = "0.0.1",
|
||||||
.dependencies = .{
|
.dependencies = .{
|
||||||
.@"raylib-zig" = .{
|
.@"raylib-zig" = .{
|
||||||
.url = "https://github.com/Not-Nik/raylib-zig/archive/068f9e18168b986de0858b25e7adec3e212a3726.tar.gz",
|
.url = "https://github.com/Not-Nik/raylib-zig/archive/devel.tar.gz",
|
||||||
.hash = "122023d07e20acf3a819c083365fff62c148d707915061d21929663948c72af90c7a",
|
.hash = "12000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
.paths = .{""},
|
.paths = .{""},
|
||||||
}
|
}
|
||||||
|
|
||||||
' >> build.zig.zon
|
' >> build.zig.zon
|
||||||
|
|
||||||
|
echo "Please manually update the dependency hash!"
|
||||||
|
|
||||||
cp ../emcc.zig .
|
cp ../emcc.zig .
|
||||||
|
|
||||||
mkdir src
|
mkdir src
|
||||||
|
Loading…
x
Reference in New Issue
Block a user