Welcome to mirror list, hosted at ThFree Co, Russian Federation.

update_sources.cmd « windows « build_files - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1f571eaf92d40b0407dd767f1ab5f33f4e7c75d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if "%BUILD_UPDATE_SVN%" == "1" (
	if "%SVN%" == "" (
		echo svn not found, cannot update libraries
		goto UPDATE_GIT
	)
	"%SVN%" up "%BLENDER_DIR%/../lib/*"
)
:UPDATE_GIT

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
)
:EOF