Преглед изворни кода

travis: Ignore binary files when checking for trailing whitespace

Cameron Cawley пре 7 година
родитељ
комит
41674d20ac
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      .travis/clang-format/script.sh

+ 1 - 1
.travis/clang-format/script.sh

@@ -1,6 +1,6 @@
 #!/bin/bash -ex
 #!/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
                  dist/*.svg dist/*.xml; then
     echo Trailing whitespace found, aborting
     echo Trailing whitespace found, aborting
     exit 1
     exit 1