Browse Source
Fix return code handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/4767/head
Joas Schilling
9 years ago
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
9 additions and
1 deletions
-
autotest-checkers.sh
|
|
@ -1,10 +1,15 @@ |
|
|
|
#!/usr/bin/env bash |
|
|
|
# |
|
|
|
RESULT=0 |
|
|
|
|
|
|
|
bash ./build/autoloaderchecker.sh |
|
|
|
RESULT=$(($RESULT+$?)) |
|
|
|
bash ./build/mergejschecker.sh |
|
|
|
RESULT=$(($RESULT+$?)) |
|
|
|
php ./build/translation-checker.php |
|
|
|
RESULT=$(($RESULT+$?)) |
|
|
|
php ./build/htaccess-checker.php |
|
|
|
RESULT=$(($RESULT+$?)) |
|
|
|
|
|
|
|
|
|
|
|
for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -printf '%f\n'); do |
|
|
@ -28,7 +33,10 @@ for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -printf '%f\n'); do |
|
|
|
else |
|
|
|
./occ app:check-code "$app" |
|
|
|
fi |
|
|
|
RESULT=$? |
|
|
|
RESULT=$(($RESULT+$?)) |
|
|
|
done; |
|
|
|
|
|
|
|
php ./build/signed-off-checker.php |
|
|
|
RESULT=$(($RESULT+$?)) |
|
|
|
|
|
|
|
exit $RESULT |