diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-22 16:58:09 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-22 21:56:06 -0300 |
commit | 8f710a4103607c3568b31bc9b1002aafc6954489 (patch) | |
tree | bd63bcbdf7225322ac64b20942ca59bb07f9a36c /scripts | |
parent | 9f7426ca168e5296c22e589a6694f6a902bdf8d8 (diff) | |
download | rneovim-8f710a4103607c3568b31bc9b1002aafc6954489.tar.gz rneovim-8f710a4103607c3568b31bc9b1002aafc6954489.tar.bz2 rneovim-8f710a4103607c3568b31bc9b1002aafc6954489.zip |
Fix clint.sh wrapper script and broken files
- Fixed clint.sh, it no longer ignores errors in individual files.
- Fixed two files that weren't passing the clint test
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clint.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/clint.sh b/scripts/clint.sh index 1453411e1c..55eb5c9394 100755 --- a/scripts/clint.sh +++ b/scripts/clint.sh @@ -1,5 +1,9 @@ #!/bin/sh for file in $(cat clint-files.txt); do - ./clint.py $file + ./clint.py $file || fail=1 done + +if [ -n "$fail" ]; then + exit 1 +fi |