2019-05-18 18:34:33 +02:00
|
|
|
if "%BUILD_UPDATE_SVN%" == "1" (
|
|
|
|
if "%SVN%" == "" (
|
|
|
|
echo svn not found, cannot update libraries
|
|
|
|
goto UPDATE_GIT
|
|
|
|
)
|
|
|
|
"%SVN%" up "%BLENDER_DIR%/../lib/*"
|
2018-05-26 01:57:13 +02:00
|
|
|
)
|
|
|
|
:UPDATE_GIT
|
|
|
|
|
2019-05-18 18:34:33 +02:00
|
|
|
if "%BUILD_UPDATE_GIT%" == "1" (
|
|
|
|
if "%GIT%" == "" (
|
|
|
|
echo Git not found, cannot update code
|
|
|
|
goto EOF
|
|
|
|
)
|
|
|
|
"%GIT%" pull --rebase
|
|
|
|
"%GIT%" submodule foreach git pull --rebase origin master
|
2018-05-26 01:57:13 +02:00
|
|
|
)
|
2018-12-20 14:45:55 +01:00
|
|
|
:EOF
|