summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-05-25 20:28:17 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-05-29 22:59:30 +0200
commitcd03abe08bbcff7b971054c77c0e1459efe1572c (patch)
tree706e345043532d90cd8ca5c41af67fc31dfa7d2e
parentRemove every trailing whitespace from the project (but externals). (diff)
downloadyuzu-cd03abe08bbcff7b971054c77c0e1459efe1572c.tar
yuzu-cd03abe08bbcff7b971054c77c0e1459efe1572c.tar.gz
yuzu-cd03abe08bbcff7b971054c77c0e1459efe1572c.tar.bz2
yuzu-cd03abe08bbcff7b971054c77c0e1459efe1572c.tar.lz
yuzu-cd03abe08bbcff7b971054c77c0e1459efe1572c.tar.xz
yuzu-cd03abe08bbcff7b971054c77c0e1459efe1572c.tar.zst
yuzu-cd03abe08bbcff7b971054c77c0e1459efe1572c.zip
-rwxr-xr-x.travis-build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis-build.sh b/.travis-build.sh
index 1028a1573..14dfd64d8 100755
--- a/.travis-build.sh
+++ b/.travis-build.sh
@@ -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