diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-01-12 10:26:26 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-04-03 19:59:40 +0200 |
commit | b2c9a5727462611b4b91d000f06d6c6ede077990 (patch) | |
tree | 844c56f00a54480e527056cd31b588654e78e648 /build | |
parent | 5024f295dcfdf850d2d95f419bcf122bf08be5c8 (diff) | |
download | nextcloud-server-b2c9a5727462611b4b91d000f06d6c6ede077990.tar.gz nextcloud-server-b2c9a5727462611b4b91d000f06d6c6ede077990.zip |
ci(checkers): Fix autoloader regeneration for non-shipped apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'build')
-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 |