Skip to content

Commit

Permalink
[godot] Restore old build/setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Oct 8, 2024
1 parent a3fa4e9 commit 64c3e9a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions spine-godot/build/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 64c3e9a

Please sign in to comment.