2018-06-16 02:50:35 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -xe
|
|
|
|
|
|
|
|
RES=$(find . \
|
|
|
|
-not -path "*/\.*" \
|
|
|
|
-not -path "*/*.egg-info/*" \
|
|
|
|
-not -path "*/releasenotes/build/*" \
|
|
|
|
-not -path "*/doc/build/*" \
|
2018-06-11 16:39:07 -04:00
|
|
|
-not -path "*/doc/source/images/*" \
|
2018-06-16 02:50:35 -05:00
|
|
|
-not -name "*.tgz" \
|
2018-06-21 19:32:03 +01:00
|
|
|
-not -name "*.html" \
|
|
|
|
-not -name "*.pyc" \
|
2018-06-16 02:50:35 -05:00
|
|
|
-type f -exec egrep -l " +$" {} \;)
|
|
|
|
|
|
|
|
if [[ -n $RES ]]; then
|
|
|
|
exit 1
|
|
|
|
fi
|