mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-11 17:48:45 +08:00
[godot] Add Windows setup.bat script.
This commit is contained in:
parent
8bf0525020
commit
9c4a945b01
10
spine-godot/setup.bat
Normal file
10
spine-godot/setup.bat
Normal file
@ -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 ..
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user