]> Cypherpunks repositories - gostls13.git/commitdiff
make.bat: implement --no-clean
authorAlex Brainman <alex.brainman@gmail.com>
Thu, 16 Feb 2012 00:34:41 +0000 (11:34 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 16 Feb 2012 00:34:41 +0000 (11:34 +1100)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5656070

src/make.bat

index e6921aa7916ff353efb7f167cc981e28b8fc834a..d1e340be397f144a37c268a91e0373e897e0578e 100644 (file)
@@ -42,7 +42,9 @@ del env.bat
 echo .
 
 echo # Building compilers and Go bootstrap tool.
-.\cmd\dist\dist bootstrap -a -v
+set buildall=-a
+if x%1==x--no-clean set buildall=
+.\cmd\dist\dist bootstrap %buildall% -v
 if errorlevel 1 goto fail
 :: Delay move of dist tool to now, because bootstrap cleared tool directory.
 move .\cmd\dist\dist.exe %GOTOOLDIR%\dist.exe