Merge pull request #21 from wilzbach/trailing-whitespace

Remove all trailing whitespace + add check
This commit is contained in:
Sönke Ludwig 2017-07-19 09:20:19 +02:00 committed by GitHub
commit 7f050af455
14 changed files with 109 additions and 106 deletions

View file

@ -4,6 +4,9 @@ set -e -x -o pipefail
DUB_FLAGS=${DUB_FLAGS:-} DUB_FLAGS=${DUB_FLAGS:-}
# Check for trailing whitespace"
grep -nrI --include='*.d' '\s$' . && (echo "Trailing whitespace found"; exit 1)
# test for successful release build # test for successful release build
dub build -b release --compiler=$DC -c $CONFIG $DUB_FLAGS dub build -b release --compiler=$DC -c $CONFIG $DUB_FLAGS