forked from suyu/suyu
Merge pull request #818 from linkmauve/no-trailing-whitespace
Ban trailing whitespace from the entire project, forever
This commit is contained in:
commit
a489a84656
65 changed files with 218 additions and 212 deletions
|
@ -3,6 +3,12 @@
|
|||
set -e
|
||||
set -x
|
||||
|
||||
if grep -r '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .travis* dist/*.desktop \
|
||||
dist/*.svg dist/*.xml; then
|
||||
echo Trailing whitespace found, aborting
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#if OS is linux or is not set
|
||||
if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
|
||||
mkdir build && cd build
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue