]> Cypherpunks repositories - gostls13.git/commitdiff
build packages automatically
authorRob Pike <r@golang.org>
Wed, 9 Jul 2008 23:09:48 +0000 (16:09 -0700)
committerRob Pike <r@golang.org>
Wed, 9 Jul 2008 23:09:48 +0000 (16:09 -0700)
SVN=126577

src/clean.bash
src/lib/clean.bash [new file with mode: 0755]
src/lib/make.bash [new file with mode: 0755]
src/make.bash

index 2378ecb0548ce33b26a138d92d7375b0a460081c..4d417eb242eb8b9ad1abf741559ee15046771cc2 100755 (executable)
@@ -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 (executable)
index 0000000..13af347
--- /dev/null
@@ -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 (executable)
index 0000000..88c97c1
--- /dev/null
@@ -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
index 14d8188f2e400aa4f4366bc7b0d5b37d7b3ac6a2..2d17e798f24c947d2000aa90bef9eed93d766cee 100755 (executable)
@@ -12,7 +12,7 @@ do
        cd ..
 done
 
-for i in cmd runtime
+for i in cmd runtime lib
 do
        cd $i
        bash make.bash