Commit 06010009 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

catch future accidental dependencies to exp/ or old/

R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/5247055
parent 787f4397
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment