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.
|
|
|
|
|
2008-11-24 16:18:29 -07:00
|
|
|
rm -f $GOROOT/pkg/*.[6a]
|
2009-03-24 17:04:25 -06:00
|
|
|
rm -f $GOROOT/lib/*.[6a]
|
2008-09-26 15:11:26 -06:00
|
|
|
for i in lib9 libbio libmach_amd64 libregexp cmd runtime lib
|
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
|