[godot] Setup script cleans up.

This commit is contained in:
Mario Zechner 2022-04-04 13:44:29 +02:00
parent 1a51078c19
commit 85227351ee

View File

@ -1,10 +1,13 @@
#!/bin/bash
set -e
git clean -x -f -d
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
rm -rf godot-copy
cp -r .idea godot
pushd godot
scons -Q compiledb
scons target=debug --jobs=$(sysctl -n hw.logicalcpu)
popd