ci(checkers): Fix autoloader regeneration for non-shipped apps

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/37476/head
Christoph Wurst 2023-01-12 10:26:26 +07:00
parent 5024f295dc
commit b2c9a57274
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with 5 additions and 0 deletions

@ -22,6 +22,11 @@ echo "Regenerating main autoloader"
$COMPOSER_COMMAND dump-autoload -d $REPODIR
for app in ${REPODIR}/apps/*; do
if git check-ignore ${app} -q ; then
echo
echo "${app} is not shipped. Ignoring autoloader regeneration"
continue
fi
if [[ -d $app ]]; then
if [[ -e ${app}/composer/composer.json ]]; then
echo