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 <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Jan 30, 2023
1 parent 21f3ac2 commit f4ff908
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 @@ -29,12 +29,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 f4ff908

Please sign in to comment.