summaryrefslogtreecommitdiff
path: root/src/cmd/clean.bash
blob: 92d8cc5c9266b60a53e0bf422487780f489a26c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env 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.

gomake=gomake
if [ "$1" == "--gomake" -a "$2" != "" ]; then
	gomake=$2
fi

for i in cc 6l 6a 6c 8l 8a 8c 8g 5l 5a 5c 5g gc 6g gopack nm cgo cov ebnflint godefs godoc gofmt goinstall gotest goyacc hgpatch prof
do
	cd $i
	$gomake clean
	cd ..
done