[godot] Extract build step into separate shell scripts.

This commit is contained in:
Mario Zechner 2022-04-19 16:50:40 +02:00
parent 422b4b4854
commit 56893add5e
4 changed files with 8 additions and 4 deletions

1
spine-godot/build.bat Normal file
View File

@ -0,0 +1 @@
cd godot & git apply ../livepp.patch & scons target=debug custom_modules=..\spine_godot vsproj=yes livepp=%LIVEPP% --jobs=16 & cd ..

5
spine-godot/build.sh Executable file
View File

@ -0,0 +1,5 @@
#/bin/sh
set -e
pushd godot
scons compiledb=yes custom_modules="../spine_godot" -j16
popd

View File

@ -4,4 +4,4 @@ xcopy /E /I .idea godot\.idea
copy custom.py godot
rmdir spine_godot\spine-cpp /s /q
xcopy /E /I ..\spine-cpp\spine-cpp spine_godot\spine-cpp
cd godot & git apply ../livepp.patch & scons target=debug custom_modules=..\spine_godot vsproj=yes livepp=%LIVEPP% --jobs=16 & cd ..
build.bat

View File

@ -5,6 +5,4 @@ git clone --depth 1 https://github.com/godotengine/godot.git -b 3.4.4-stable
cp -r .idea godot
cp custom.py godot
cp -r ../spine-cpp/spine-cpp spine_godot
pushd godot
scons compiledb=yes custom_modules="../spine_godot" -j16
popd
./build.sh