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
9 if exist make.bat goto ok
\r
10 echo all.bat must be run from go\src
\r
11 :: cannot exit: would kill parent command interpreter
\r
16 call make.bat --no-banner --no-local
\r
17 if %GOBUILDFAIL%==1 goto end
\r
18 call run.bat --no-rebuild --no-local
\r
19 if %GOBUILDFAIL%==1 goto end
\r
20 :: we must restore %PATH% before running "dist banner" so that the latter
\r
21 :: can get the original %PATH% and give suggestion to add %GOROOT%/bin
\r
22 :: to %PATH% if necessary.
\r
24 "%GOTOOLDIR%/dist" banner
\r
27 if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
\r