diff options
| -rwxr-xr-x | src/clean.bash | 2 | ||||
| -rwxr-xr-x | src/lib/clean.bash | 7 | ||||
| -rwxr-xr-x | src/lib/make.bash | 10 | ||||
| -rwxr-xr-x | src/make.bash | 2 |
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 |
