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