Преглед на файлове

[godot] Restore old build/setup.sh

Mario Zechner преди 11 месеца
родител
ревизия
64c3e9af16
променени са 1 файла, в които са добавени 0 реда и са изтрити 13 реда
  1. 0 13
      spine-godot/build/setup.sh

+ 0 - 13
spine-godot/build/setup.sh

@@ -18,13 +18,10 @@ if [ $# -lt 2 ] || [ $# -gt 4 ]; then
 fi
 
 branch=${1%/}
-godot_version=$(echo "$branch" | grep -o '^[0-9]*\.[0-9]*')
 dev=${2%/}
 mono=false
 repo=https://github.com/godotengine/godot.git
 
-echo "Godot version: $godot_version"
-
 if [[ $# -eq 3 && "$branch" != 3* ]]; then
 	mono=${3%/}
 fi
@@ -44,16 +41,6 @@ if [ $# -eq 4 ]; then
 fi
 
 pushd ..
-
-echo "--- Cloning GDExtensions"
-rm -rf godot-cpp
-git clone https://github.com/godotengine/godot-cpp
-pushd godot-cpp
-git submodule update --init
-git checkout $godot_version
-popd
-
-echo "--- Cloning Godot"
 rm -rf godot
 git clone --depth 1 $repo -b $branch
 if [ $dev = "true" ]; then