2008-06-12 14:26:16 -06:00
|
|
|
#!/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.
|
|
|
|
|
2009-05-20 12:12:05 -06:00
|
|
|
rm -rf $GOROOT/pkg/[0-9a-zA-Z_]*
|
2009-03-24 17:04:25 -06:00
|
|
|
rm -f $GOROOT/lib/*.[6a]
|
2009-08-14 11:46:04 -06:00
|
|
|
for i in lib9 libbio libmach libregexp cmd pkg
|
2008-06-12 14:26:16 -06:00
|
|
|
do
|
|
|
|
cd $i
|
2008-09-19 12:55:46 -06:00
|
|
|
case $i in
|
2008-11-21 13:36:16 -07:00
|
|
|
cmd)
|
2008-09-19 12:55:46 -06:00
|
|
|
bash clean.bash
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
make clean
|
|
|
|
esac
|
2008-06-12 14:26:16 -06:00
|
|
|
cd ..
|
|
|
|
done
|