From a1eff056e77447d3157035fb33dcd4a2004b3031 Mon Sep 17 00:00:00 2001 From: badlogic Date: Mon, 2 May 2022 18:36:23 +0200 Subject: [PATCH] [godot] Fix setup.bat for fresh checkout --- spine-godot/setup.bat | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/spine-godot/setup.bat b/spine-godot/setup.bat index 636cd2f69..596f68488 100644 --- a/spine-godot/setup.bat +++ b/spine-godot/setup.bat @@ -2,11 +2,11 @@ if [%1]==[] goto usage set branch=%1 -rmdir godot /s /q || goto error +rmdir godot /s /q git clone --depth 1 https://github.com/godotengine/godot.git -b %branch% || goto error xcopy /E /I .idea godot\.idea || goto error copy custom.py godot || goto error -rmdir spine_godot\spine-cpp /s /q || goto error +rmdir spine_godot\spine-cpp /s /q xcopy /E /I ..\spine-cpp\spine-cpp spine_godot\spine-cpp || goto error cd godot & git apply ../livepp.patch & git apply ../livepp-v4.patch & cd .. build.bat || goto error @@ -22,5 +22,4 @@ exit 0 exit 1 :error -@echo Couldn^'t setup Godot -exit 1 \ No newline at end of file +@echo Couldn^'t setup Godot \ No newline at end of file