1 :: Copyright 2012 The Go Authors. All rights reserved.
2 :: Use of this source code is governed by a BSD-style
3 :: license that can be found in the LICENSE file.
11 go tool dist env -w -p >env.bat
12 if errorlevel 1 goto fail
17 if exist %GOTOOLDIR%\dist.exe goto distok
18 echo cannot find %GOTOOLDIR%\dist; nothing to clean
22 "%GOBIN%\go" clean -i std
23 "%GOBIN%\go" tool dist clean
24 "%GOBIN%\go" clean -i cmd
32 if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%