Don't call the compiler twice in the scripts.

Zig sometimes doesn't cache stuff correctly.
In the presence of this bug the game might be recompiled in the second compiler command.
This doubled compile times in the worst case.
This commit is contained in:
IntegratedQuantum 2024-02-25 10:39:16 +01:00
parent 50c20aa28f
commit d4f9270fa9
2 changed files with 2 additions and 2 deletions

View File

@ -75,4 +75,4 @@ fi
echo "Cubyz successfully built!"
echo "Launching Cubyz."
./compiler/zig/zig build run "$@"
./zig-out/bin/Cubyzig

View File

@ -55,4 +55,4 @@ if errorlevel 1 (
echo Cubyz successfully built!
echo Launching Cubyz.
compiler\zig\zig build run %*
zig-out\bin\Cubyzig