1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:54:40 -07:00

make.bat: implement --no-clean

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5656070
This commit is contained in:
Alex Brainman 2012-02-16 11:34:41 +11:00
parent 034c72a557
commit fa0100cf26

View 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