summaryrefslogtreecommitdiff
path: root/src/make.bat
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2012-02-16 11:34:41 +1100
committerAlex Brainman <alex.brainman@gmail.com>2012-02-16 11:34:41 +1100
commit46ed9d68194adcb78feca6e9ca838985a1977df3 (patch)
tree38dd186eb6b870979feedb54de673eb42716a24b /src/make.bat
parent32b4758191a89ed6c654f6a7df9c267d72893f27 (diff)
downloadgo-46ed9d68194adcb78feca6e9ca838985a1977df3.tar.gz
make.bat: implement --no-clean
R=golang-dev, r CC=golang-dev http://codereview.appspot.com/5656070
Diffstat (limited to 'src/make.bat')
-rw-r--r--src/make.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/make.bat b/src/make.bat
index e6921aa79..d1e340be3 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