1
0
mirror of https://github.com/golang/go synced 2024-11-26 19:51:17 -07:00

build: fix clean scripts

Fixes #10734.

Change-Id: I7a2c580b87749225668fbd7a005412c8eee6824d
Reviewed-on: https://go-review.googlesource.com/9823
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Shenghou Ma 2015-05-07 02:12:23 -04:00 committed by Russ Cox
parent 7733a7cad8
commit 01187f756e
3 changed files with 7 additions and 4 deletions

View File

@ -13,4 +13,5 @@ if [ ! -x $GOTOOLDIR/dist ]; then
fi
"$GOBIN/go" clean -i std
$GOTOOLDIR/dist clean
"$GOBIN/go" tool dist clean
"$GOBIN/go" clean -i cmd

View File

@ -7,7 +7,7 @@ setlocal
set GOBUILDFAIL=0
go tool dist env -wp >env.bat
go tool dist env -w -p >env.bat
if errorlevel 1 goto fail
call env.bat
del env.bat
@ -19,7 +19,8 @@ goto fail
:distok
"%GOBIN%\go" clean -i std
%GOTOOLDIR%\dist clean
"%GOBIN%\go" tool dist clean
"%GOBIN%\go" clean -i cmd
goto end

View File

@ -11,4 +11,5 @@ if(! test -x $GOTOOLDIR/dist){
}
$GOBIN/go clean -i std
$GOTOOLDIR/dist clean
$GOBIN/go tool dist clean
$GOBIN/go clean -i cmd