Browse Source

travis: Ignore binary files when checking for trailing whitespace

nce_cpp
Cameron Cawley 7 years ago
committed by fearlessTobi
parent
commit
498c34e354
  1. 2
      .travis/clang-format/script.sh

2
.travis/clang-format/script.sh

@ -1,6 +1,6 @@
#!/bin/bash -ex
if grep -nr '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .travis* dist/*.desktop \
if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .travis* dist/*.desktop \
dist/*.svg dist/*.xml; then
echo Trailing whitespace found, aborting
exit 1

Loading…
Cancel
Save