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

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2023-01-12 10:31:36 +01:00 committed by Christoph Wurst
parent 0411cc64aa
commit 821ad805d2
1 changed files with 4 additions and 6 deletions

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