[Bf-blender-cvs] [fe5efe4] master: make.bat: add 'clean' command

Campbell Barton noreply at git.blender.org
Fri Jan 1 16:37:17 CET 2016


Commit: fe5efe4196dbf018a3fb4accd69eef90a48520f9
Author: Campbell Barton
Date:   Sat Jan 2 02:30:02 2016 +1100
Branches: master
https://developer.blender.org/rBfe5efe4196dbf018a3fb4accd69eef90a48520f9

make.bat: add 'clean' command

===================================================================

M	make.bat

===================================================================

diff --git a/make.bat b/make.bat
index 71a7ca1..06137f5 100644
--- a/make.bat
+++ b/make.bat
@@ -59,6 +59,7 @@ if NOT "%1" == "" (
 		echo - bpy
 		echo.
 		echo Utilities ^(not associated with building^)
+		echo - clean
 		echo - update
 		goto EOF
 	)
@@ -96,6 +97,14 @@ if NOT "%1" == "" (
 		git pull --rebase
 		git submodule foreach git pull --rebase origin master
 		goto EOF
+	) else if "%1" == "clean" (
+		msbuild ^
+			%BUILD_DIR%\Blender.sln ^
+			/target:clean ^
+			/property:Configuration=%BUILD_TYPE% ^
+			/verbosity:minimal
+		echo Cleaned "%BUILD_DIR%"
+		goto EOF
 	) else (
 		echo Command "%1" unknown, aborting!
 		goto EOF




More information about the Bf-blender-cvs mailing list