Ignore lib directory for exes check

Apparently older versions of git report all contents of submodules in the
ls-files command!
This commit is contained in:
Alex Crichton 2014-07-08 09:30:54 -07:00
parent 8a6b85a0c4
commit e5c667ebc6

View file

@ -81,7 +81,7 @@ style:
sh tests/check-style.sh
no-exes:
find $$(git ls-files) -perm +111 -type f \
find $$(git ls-files | grep -v '^lib') -perm +111 -type f \
-not -name '*.sh' -not -name '*.rs' | grep '.*' \
&& exit 1 || exit 0