aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-01-12 10:31:36 +0100
committerChristoph Wurst <ChristophWurst@users.noreply.github.com>2023-07-24 13:58:37 +0200
commit821ad805d205c6a5da00ae485f93bb7035c93e1a (patch)
treec7d4d3f020cbd0e9949055d2fd75a7d4281aca71 /build
parent0411cc64aaaaa42ae23b4d5e216f16d481f20819 (diff)
downloadnextcloud-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-xbuild/autoloaderchecker.sh10
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