diff --git a/spine-godot/build.bat b/spine-godot/build.bat new file mode 100644 index 000000000..52c5c938a --- /dev/null +++ b/spine-godot/build.bat @@ -0,0 +1 @@ +cd godot & git apply ../livepp.patch & scons target=debug custom_modules=..\spine_godot vsproj=yes livepp=%LIVEPP% --jobs=16 & cd .. diff --git a/spine-godot/build.sh b/spine-godot/build.sh new file mode 100755 index 000000000..210da6841 --- /dev/null +++ b/spine-godot/build.sh @@ -0,0 +1,5 @@ +#/bin/sh +set -e +pushd godot +scons compiledb=yes custom_modules="../spine_godot" -j16 +popd \ No newline at end of file diff --git a/spine-godot/setup.bat b/spine-godot/setup.bat index fd2ec4701..ebff43691 100644 --- a/spine-godot/setup.bat +++ b/spine-godot/setup.bat @@ -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 diff --git a/spine-godot/setup.sh b/spine-godot/setup.sh index 213b5e67f..f088fa400 100755 --- a/spine-godot/setup.sh +++ b/spine-godot/setup.sh @@ -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 \ No newline at end of file +./build.sh \ No newline at end of file