summaryrefslogtreecommitdiff
path: root/src/all.bat
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-02-04 00:48:31 -0500
committerRuss Cox <rsc@golang.org>2012-02-04 00:48:31 -0500
commitff39c5ed4b452204511fdc623893f5ce2fc56491 (patch)
treeaf42eafb8826d82d8f4d2314489ec24555666835 /src/all.bat
parented33420c66c5178255d81c109a584f067e64840d (diff)
downloadgo-ff39c5ed4b452204511fdc623893f5ce2fc56491.tar.gz
build: dist-based build for windows
R=golang-dev, bradfitz, iant, alex.brainman, go.peter.90 CC=golang-dev http://codereview.appspot.com/5630047
Diffstat (limited to 'src/all.bat')
-rw-r--r--src/all.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/all.bat b/src/all.bat
new file mode 100644
index 000000000..93e07b578
--- /dev/null
+++ b/src/all.bat
@@ -0,0 +1,18 @@
+:: 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
+
+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
+
+call make.bat --no-banner
+if %GOBUILDFAIL%==1 goto end
+call run.bat --no-rebuild
+if %GOBUILDFAIL%==1 goto end
+..\bin\tool\dist banner
+
+:end