diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-01-12 10:31:36 +0100 |
---|---|---|
committer | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2023-07-24 13:58:37 +0200 |
commit | 821ad805d205c6a5da00ae485f93bb7035c93e1a (patch) | |
tree | c7d4d3f020cbd0e9949055d2fd75a7d4281aca71 /build | |
parent | 0411cc64aaaaa42ae23b4d5e216f16d481f20819 (diff) | |
download | nextcloud-server-821ad805d205c6a5da00ae485f93bb7035c93e1a.tar.gz nextcloud-server-821ad805d205c6a5da00ae485f93bb7035c93e1a.zip |
ci(checkers): Require composer autoloaders for all shipped apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'build')
-rwxr-xr-x | build/autoloaderchecker.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/build/autoloaderchecker.sh b/build/autoloaderchecker.sh index da3a7ef2546..09bcff0b853 100755 --- a/build/autoloaderchecker.sh +++ b/build/autoloaderchecker.sh @@ -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 |