build packages automatically

SVN=126577
This commit is contained in:
Rob Pike 2008-07-09 16:09:48 -07:00
parent 12c81a0ce8
commit 92bb676290
4 changed files with 19 additions and 2 deletions

View File

@ -10,7 +10,7 @@ do
cd ..
done
for i in cmd runtime
for i in cmd runtime lib
do
cd $i
bash clean.bash

7
src/lib/clean.bash Executable file
View File

@ -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/*

10
src/lib/make.bash Executable file
View File

@ -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

View File

@ -12,7 +12,7 @@ do
cd ..
done
for i in cmd runtime
for i in cmd runtime lib
do
cd $i
bash make.bash