Browse Source

[godot] Setup script cleans up.

Mario Zechner 3 years ago
parent
commit
85227351ee
1 changed files with 3 additions and 0 deletions
  1. 3 0
      spine-godot/setup.sh

+ 3 - 0
spine-godot/setup.sh

@@ -1,10 +1,13 @@
 #!/bin/bash
 #!/bin/bash
 set -e
 set -e
+git clean -x -f -d
 cp -r ../spine-cpp/spine-cpp godot/modules/spine_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
 git clone --depth 1 https://github.com/godotengine/godot.git -b 3.4.4-stable godot-copy
 rm -rf godot-copy/.git
 rm -rf godot-copy/.git
 cp -r godot-copy/* godot
 cp -r godot-copy/* godot
+rm -rf godot-copy
 cp -r .idea godot
 cp -r .idea godot
 pushd godot
 pushd godot
+scons -Q compiledb
 scons target=debug --jobs=$(sysctl -n hw.logicalcpu)
 scons target=debug --jobs=$(sysctl -n hw.logicalcpu)
 popd
 popd