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

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2023-01-12 10:26:26 +01:00
parent 5024f295dc
commit b2c9a57274
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8

View File

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