mirror of
https://github.com/golang/go
synced 2024-11-23 00:30:07 -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:
parent
7733a7cad8
commit
01187f756e
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user