mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[godot] Fix setup.bat for fresh checkout
This commit is contained in:
parent
1fe597d88a
commit
a1eff056e7
@ -2,11 +2,11 @@
|
|||||||
if [%1]==[] goto usage
|
if [%1]==[] goto usage
|
||||||
|
|
||||||
set branch=%1
|
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
|
git clone --depth 1 https://github.com/godotengine/godot.git -b %branch% || goto error
|
||||||
xcopy /E /I .idea godot\.idea || goto error
|
xcopy /E /I .idea godot\.idea || goto error
|
||||||
copy custom.py godot || 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
|
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 ..
|
cd godot & git apply ../livepp.patch & git apply ../livepp-v4.patch & cd ..
|
||||||
build.bat || goto error
|
build.bat || goto error
|
||||||
@ -23,4 +23,3 @@ exit 1
|
|||||||
|
|
||||||
:error
|
:error
|
||||||
@echo Couldn^'t setup Godot
|
@echo Couldn^'t setup Godot
|
||||||
exit 1
|
|
||||||
Loading…
x
Reference in New Issue
Block a user