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

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/37481/head
Christoph Wurst 1 year ago committed by Christoph Wurst
parent 0411cc64aa
commit 821ad805d2

@ -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