mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 03:06:55 -04:00
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:
parent
50c20aa28f
commit
d4f9270fa9
@ -75,4 +75,4 @@ fi
|
||||
echo "Cubyz successfully built!"
|
||||
echo "Launching Cubyz."
|
||||
|
||||
./compiler/zig/zig build run "$@"
|
||||
./zig-out/bin/Cubyzig
|
||||
|
@ -55,4 +55,4 @@ if errorlevel 1 (
|
||||
echo Cubyz successfully built!
|
||||
echo Launching Cubyz.
|
||||
|
||||
compiler\zig\zig build run %*
|
||||
zig-out\bin\Cubyzig
|
||||
|
Loading…
x
Reference in New Issue
Block a user