2022-04-04 13:44:29 +02:00

13 lines
353 B
Bash
Executable File

#!/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