1
0
mirror of https://github.com/golang/go synced 2024-11-25 01:08:02 -07:00

catch future accidental dependencies to exp/ or old/

R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/5247055
This commit is contained in:
Brad Fitzpatrick 2011-10-12 10:55:42 -07:00
parent 787f439733
commit 0601000968

View File

@ -47,3 +47,8 @@ for dir in $dirs; do (
) done > $TMP
mv $TMP $OUT
if (egrep -v '^(exp|old)/' $OUT | egrep -q " (exp|old)/"); then
echo "$0: $OUT contains dependencies to exp or old packages"
exit 1
fi