Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit edddaafb6fdedef611fbf143a8b09d0be6e1be3b 1 parent 0477005
Jonathan Pryor jonpryor authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 validate.posix
6 validate.posix
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.