Skip to content

Commit

Permalink
ci(checkers): Require composer autoloaders for all shipped apps
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Jul 24, 2023
1 parent 0411cc6 commit 821ad80
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 821ad80

Please sign in to comment.