summaryrefslogtreecommitdiff
path: root/src/clean.bash
blob: 4b6c6d73dc4fc23b11312a165dbb3e394f891313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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.

rm -f $GOROOT/pkg/*.[6a]
rm -f $GOROOT/lib/*.[6a]
for i in lib9 libbio libmach_amd64 libregexp cmd runtime lib
do
	cd $i
	case $i in
	cmd)
		bash clean.bash
		;;
	*)
		make clean
	esac
	cd ..
done