]> Cypherpunks.ru repositories - gostls13.git/blob - src/all.bat
builder: set $GOBUILDEXIT for Windows
[gostls13.git] / src / all.bat
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.
4 @echo off
5
6 if exist make.bat goto ok
7 echo all.bat must be run from go\src
8 :: cannot exit: would kill parent command interpreter
9 goto end
10 :ok
11
12 call make.bat --no-banner
13 if %GOBUILDFAIL%==1 goto end
14 call run.bat --no-rebuild
15 if %GOBUILDFAIL%==1 goto end
16 ..\bin\tool\dist banner
17
18 :end
19 if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%