From 9c4a945b0196cd0fd566b6b9f58da4b7d056a35c Mon Sep 17 00:00:00 2001 From: badlogic Date: Mon, 11 Apr 2022 09:31:07 +0200 Subject: [PATCH] [godot] Add Windows setup.bat script. --- spine-godot/setup.bat | 10 ++++++++++ spine-godot/setup.sh | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 spine-godot/setup.bat diff --git a/spine-godot/setup.bat b/spine-godot/setup.bat new file mode 100644 index 000000000..fc2ca99e2 --- /dev/null +++ b/spine-godot/setup.bat @@ -0,0 +1,10 @@ +git clean -x -f -d +rmdir godot /s /q +git clone --depth 1 https://github.com/godotengine/godot.git -b 3.4.4-stable +xcopy /E /I .idea godot\.idea +copy custom.py godot +xcopy /E /I ..\spine-cpp\spine-cpp spine_godot\spine-cpp +cd godot +scons -Q compiledb custom_modules="../spine_godot" +scons target=debug custom_modules="../spine_godot" --jobs=8 +cd .. diff --git a/spine-godot/setup.sh b/spine-godot/setup.sh index 65094a665..05160284d 100755 --- a/spine-godot/setup.sh +++ b/spine-godot/setup.sh @@ -1,11 +1,12 @@ #!/bin/bash set -e -#git clean -x -f -d +git clean -x -f -d +rm -rf godot 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 -Q compiledb custom_modules="../spine_godot" -scons target=debug custom_modules="../spine_godot" --jobs=$(sysctl -n hw.logicalcpu) +scons target=debug custom_modules="../spine_godot" --jobs=8 popd \ No newline at end of file