Browse Source

ci(checkers): Require composer autoloaders for all shipped apps

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tags/v28.0.0beta1
Christoph Wurst 1 year ago
parent
commit
821ad805d2
1 changed files with 4 additions and 6 deletions
  1. 4
    6
      build/autoloaderchecker.sh

+ 4
- 6
build/autoloaderchecker.sh View File

@@ -38,12 +38,10 @@ for app in ${REPODIR}/apps/*; do
continue
fi
if [[ -d $app ]]; then
if [[ -e ${app}/composer/composer.json ]]; then
echo
echo "Regenerating composer files for ${app}"
$COMPOSER_COMMAND i --no-dev -d ${app}/composer
$COMPOSER_COMMAND dump-autoload -d ${app}/composer
fi
echo
echo "Regenerating composer files for ${app}"
$COMPOSER_COMMAND i --no-dev -d ${app}/composer || exit 1
$COMPOSER_COMMAND dump-autoload -d ${app}/composer || exit 1
fi
done


Loading…
Cancel
Save