diff options
author | Alex Brainman <alex.brainman@gmail.com> | 2012-02-16 11:34:41 +1100 |
---|---|---|
committer | Alex Brainman <alex.brainman@gmail.com> | 2012-02-16 11:34:41 +1100 |
commit | fa0100cf26336053f9c072c3cb1081a09df41449 (patch) | |
tree | cb987a02b00cdbafc34db1938947f72d39fb885d /src/make.bat | |
parent | 034c72a5573a8d6f97f7ab241de271a09c356817 (diff) | |
download | go-fa0100cf26336053f9c072c3cb1081a09df41449.tar.gz go-fa0100cf26336053f9c072c3cb1081a09df41449.zip |
make.bat: implement --no-clean
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5656070
Diffstat (limited to 'src/make.bat')
-rw-r--r-- | src/make.bat | 4 |
1 files changed, 3 insertions, 1 deletions
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 |