Skip to content

Commit

Permalink
Merge pull request #37481 from nextcloud/ci/checkers/require-autoload…
Browse files Browse the repository at this point in the history
…er-shipped-apps

ci(checkers): Require composer autoloaders for all shipped apps
  • Loading branch information
nickvergessen authored Aug 1, 2023
2 parents 30345f8 + 821ad80 commit 9241a38
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions build/autoloaderchecker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9241a38

Please sign in to comment.