]> Cypherpunks repositories - gostls13.git/commitdiff
split all.bash into make.bash and run.bash
authorRuss Cox <rsc@golang.org>
Wed, 8 Oct 2008 16:46:54 +0000 (09:46 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 8 Oct 2008 16:46:54 +0000 (09:46 -0700)
R=r
OCL=16720
CL=16728

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

index b9202e1118615aec0ce0a9c71189a155a4b6e83a..006ac5965e067a8e568eb8f59f77924fa5e84b7d 100755 (executable)
@@ -5,40 +5,4 @@
 
 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
-)
-
+bash run.bash
diff --git a/src/run.bash b/src/run.bash
new file mode 100755 (executable)
index 0000000..cd33b89
--- /dev/null
@@ -0,0 +1,38 @@
+#!/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
+
+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/refl
+rm -f *.6 6.out
+6g refl.go
+6g printf.go
+6g main.go
+6l main.6
+6.out
+)
+
+(xcd ../test
+./run
+)
+