Skip to content

Commit b2c9a57

Browse files
ci(checkers): Fix autoloader regeneration for non-shipped apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent 5024f29 commit b2c9a57

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

build/autoloaderchecker.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ echo "Regenerating main autoloader"
2222
$COMPOSER_COMMAND dump-autoload -d $REPODIR
2323

2424
for app in ${REPODIR}/apps/*; do
25+
if git check-ignore ${app} -q ; then
26+
echo
27+
echo "${app} is not shipped. Ignoring autoloader regeneration"
28+
continue
29+
fi
2530
if [[ -d $app ]]; then
2631
if [[ -e ${app}/composer/composer.json ]]; then
2732
echo

0 commit comments

Comments
 (0)