summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-07-09 16:09:48 -0700
committerRob Pike <r@golang.org>2008-07-09 16:09:48 -0700
commit52568d750a77448c7d1a96fd450d672ffd7a1ee9 (patch)
tree4bcf59276ca75605d829553e709b8dcdf139cd5f
parent0559872fe0e4cd42698e0c1e663bbbc18ea09f16 (diff)
downloadgolang-52568d750a77448c7d1a96fd450d672ffd7a1ee9.tar.gz
build packages automatically
SVN=126577
-rwxr-xr-xsrc/clean.bash2
-rwxr-xr-xsrc/lib/clean.bash7
-rwxr-xr-xsrc/lib/make.bash10
-rwxr-xr-xsrc/make.bash2
4 files changed, 19 insertions, 2 deletions
diff --git a/src/clean.bash b/src/clean.bash
index 2378ecb05..4d417eb24 100755
--- a/src/clean.bash
+++ b/src/clean.bash
@@ -10,7 +10,7 @@ do
cd ..
done
-for i in cmd runtime
+for i in cmd runtime lib
do
cd $i
bash clean.bash
diff --git a/src/lib/clean.bash b/src/lib/clean.bash
new file mode 100755
index 000000000..13af347a7
--- /dev/null
+++ b/src/lib/clean.bash
@@ -0,0 +1,7 @@
+# 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.
+
+#!/bin/bash
+
+rm -f $GOROOT/pkg/*
diff --git a/src/lib/make.bash b/src/lib/make.bash
new file mode 100755
index 000000000..88c97c138
--- /dev/null
+++ b/src/lib/make.bash
@@ -0,0 +1,10 @@
+# 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.
+
+#!/bin/bash
+
+rm -f *.6
+6g fmt.go
+6g container/vector.go
+mv *.6 $GOROOT/pkg
diff --git a/src/make.bash b/src/make.bash
index 14d8188f2..2d17e798f 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -12,7 +12,7 @@ do
cd ..
done
-for i in cmd runtime
+for i in cmd runtime lib
do
cd $i
bash make.bash