|
|
@ -5,8 +5,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
shopt -s nullglob globstar
|
|
|
|
shopt -s nullglob globstar
|
|
|
|
|
|
|
|
|
|
|
|
if grep -nrI '\s$' src **/*.yml **/*.txt **/*.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop \
|
|
|
|
if git grep -nrI '\s$' src **/*.yml **/*.txt **/*.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop dist/*.svg dist/*.xml; then
|
|
|
|
dist/*.svg dist/*.xml; then
|
|
|
|
|
|
|
|
echo Trailing whitespace found, aborting
|
|
|
|
echo Trailing whitespace found, aborting
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|