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