summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-04-14 11:28:48 +0200
committerGitHub <noreply@github.com>2023-04-14 11:28:48 +0200
commita578a5ec9ca9677e895405237c8a848517240689 (patch)
tree8cc9e1cd01c5cbd1ec52d781b7476d81ac40ae78
parent0951398af88455f28359d032f916474e3d8d2893 (diff)
parentb2c9a5727462611b4b91d000f06d6c6ede077990 (diff)
downloadnextcloud-server-a578a5ec9ca9677e895405237c8a848517240689.tar.gz
nextcloud-server-a578a5ec9ca9677e895405237c8a848517240689.zip
Merge pull request #37476 from nextcloud/ci/checkers/fix-autoloader-generation-extraneous-apps
ci(checkers): Fix autoloader (re)generation for extraneous apps
-rwxr-xr-xbuild/autoloaderchecker.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/autoloaderchecker.sh b/build/autoloaderchecker.sh
index c0737eaeb64..19ae6a71731 100755
--- a/build/autoloaderchecker.sh
+++ b/build/autoloaderchecker.sh
@@ -22,6 +22,11 @@ echo "Regenerating main autoloader"
$COMPOSER_COMMAND dump-autoload -d $REPODIR
for app in ${REPODIR}/apps/*; do
+ if git check-ignore ${app} -q ; then
+ echo
+ echo "${app} is not shipped. Ignoring autoloader regeneration"
+ continue
+ fi
if [[ -d $app ]]; then
if [[ -e ${app}/composer/composer.json ]]; then
echo