VERY experimental Nintendo Switch 2 emulator
C++
Travis: Add a check for trailing whitespace before any actual compilation.
Emmanuel Gil Peyrotcd03abe08bbc
diff --git a/.travis-build.sh b/.travis-build.shindex 1028a1573b..14dfd64d89 100755--- a/.travis-build.sh+++ b/.travis-build.sh@@ -3,6 +3,12 @@set -eset -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 setif [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; thenmkdir build && cd build