From: Alex Brainman Date: Thu, 16 Feb 2012 00:34:41 +0000 (+1100) Subject: make.bat: implement --no-clean X-Git-Tag: weekly.2012-02-22~211 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fa0100cf26336053f9c072c3cb1081a09df41449;p=gostls13.git make.bat: implement --no-clean R=golang-dev, r CC=golang-dev https://golang.org/cl/5656070 --- diff --git a/src/make.bat b/src/make.bat index e6921aa791..d1e340be39 100644 --- a/src/make.bat +++ b/src/make.bat @@ -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