[godot] Get rid of symlink

This commit is contained in:
Mario Zechner 2022-04-04 13:41:56 +02:00
parent b409fcb067
commit 1a51078c19
76 changed files with 5 additions and 5 deletions

1
.gitignore vendored
View File

@ -167,3 +167,4 @@ spine-cocos2dx/example/build-win
spine-godot/godot
spine-godot/spine_godot/__pycache__
spine-godot/spine_godot/spine-cpp
spine-godot/godot-copy

View File

@ -1,11 +1,10 @@
#!/bin/bash
set -e
rm -rf godot
cp -r ../spine-cpp/spine-cpp spine_godot
git clone --depth 1 https://github.com/godotengine/godot.git -b 3.4.4-stable
cp custom.py godot
cp -r ../spine-cpp/spine-cpp godot/modules/spine_godot
git clone --depth 1 https://github.com/godotengine/godot.git -b 3.4.4-stable godot-copy
rm -rf godot-copy/.git
cp -r godot-copy/* godot
cp -r .idea godot
ln -s $(pwd)/spine_godot godot/modules/spine_godot
pushd godot
scons target=debug --jobs=$(sysctl -n hw.logicalcpu)
popd