diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-04-14 11:28:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-14 11:28:48 +0200 |
commit | a578a5ec9ca9677e895405237c8a848517240689 (patch) | |
tree | 8cc9e1cd01c5cbd1ec52d781b7476d81ac40ae78 | |
parent | 0951398af88455f28359d032f916474e3d8d2893 (diff) | |
parent | b2c9a5727462611b4b91d000f06d6c6ede077990 (diff) | |
download | nextcloud-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-x | build/autoloaderchecker.sh | 5 |
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 |