2012-02-03 22:48:31 -07:00
|
|
|
:: Copyright 2012 The Go Authors. All rights reserved.
|
|
|
|
:: Use of this source code is governed by a BSD-style
|
|
|
|
:: license that can be found in the LICENSE file.
|
|
|
|
@echo off
|
|
|
|
|
2012-02-15 16:26:01 -07:00
|
|
|
setlocal
|
|
|
|
|
2012-02-03 22:48:31 -07:00
|
|
|
if exist make.bat goto ok
|
|
|
|
echo all.bat must be run from go\src
|
|
|
|
:: cannot exit: would kill parent command interpreter
|
|
|
|
goto end
|
|
|
|
:ok
|
|
|
|
|
2012-02-15 16:26:01 -07:00
|
|
|
call make.bat --no-banner --no-local
|
2012-02-03 22:48:31 -07:00
|
|
|
if %GOBUILDFAIL%==1 goto end
|
2012-02-15 16:44:55 -07:00
|
|
|
call run.bat --no-rebuild --no-local
|
2012-02-03 22:48:31 -07:00
|
|
|
if %GOBUILDFAIL%==1 goto end
|
2012-02-13 20:56:42 -07:00
|
|
|
go tool dist banner
|
2012-02-03 22:48:31 -07:00
|
|
|
|
|
|
|
:end
|
2012-02-09 23:27:59 -07:00
|
|
|
if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
|