]> Cypherpunks.ru repositories - gostls13.git/commitdiff
add a script to build *everything*
authorRuss Cox <rsc@golang.org>
Wed, 1 Oct 2008 18:06:13 +0000 (11:06 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 1 Oct 2008 18:06:13 +0000 (11:06 -0700)
R=r
DELTA=41  (41 added, 0 deleted, 0 changed)
OCL=16290
CL=16293

src/all.bash [new file with mode: 0755]

diff --git a/src/all.bash b/src/all.bash
new file mode 100755 (executable)
index 0000000..b9202e1
--- /dev/null
@@ -0,0 +1,44 @@
+#!/bin/bash
+# Copyright 2009 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.
+
+set -e
+bash make.bash
+
+xcd() {
+       builtin cd $1
+       echo --- cd $1
+}
+
+(xcd ../usr/gri/gosrc
+make clean
+time make
+make test
+)
+
+(xcd ../usr/gri/pretty
+make clean
+time make
+make test
+)
+
+(xcd ../usr/r/rpc
+make clean
+time make
+chanrun
+)
+
+(xcd ../usr/r/refl
+rm -f *.6 6.out
+6g refl.go
+6g printf.go
+6g main.go
+6l main.6
+6.out
+)
+
+(xcd ../test
+./run
+)
+