]> Cypherpunks.ru repositories - gostls13.git/blob - src/clean.bash
clear out pkg tree in clean.bash.
[gostls13.git] / src / clean.bash
1 #!/bin/bash
2 # Copyright 2009 The Go Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style
4 # license that can be found in the LICENSE file.
5
6 rm -rf $GOROOT/pkg/[0-9a-zA-Z_]*
7 rm -f $GOROOT/lib/*.[6a]
8 for i in lib9 libbio libmach_amd64 libregexp cmd runtime lib
9 do
10         cd $i
11         case $i in
12         cmd)
13                 bash clean.bash
14                 ;;
15         *)
16                 make clean
17         esac
18         cd ..
19 done