Browse files

[validate] Validate ALL projects.

Don't stop validating as soon as an error is encountered, continue
checking all projects so that as many errors can be detected as
possible. (This avoids my tearing my hair out to see what's broken.)
  • Loading branch information...
1 parent 0477005 commit edddaafb6fdedef611fbf143a8b09d0be6e1be3b @jonpryor jonpryor committed Apr 21, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 validate.posix
View
6 validate.posix
@@ -1,11 +1,15 @@
#!/bin/sh
+ec=0
+
for dir in `find . -type d -maxdepth 1 | grep -v "\.$" | grep -v "\./\." | sed "s/^\.\///"`; do
if ! [ -f $dir/Makefile ]; then
mono --debug xcsv.exe all $dir;
if [ $? != 0 ]; then
- exit 1;
+ ec=1;
fi;
fi;
done;
+
+exit $ec

0 comments on commit edddaaf

Please sign in to comment.