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:
parent
787f439733
commit
0601000968
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user