diff --git a/.ci/batch-byte-compile.sh b/.ci/batch-byte-compile.sh index fadd3426..c4e8420f 100755 --- a/.ci/batch-byte-compile.sh +++ b/.ci/batch-byte-compile.sh @@ -20,7 +20,14 @@ trap cleanup ERR INT TERM # directories. Directory extensions is skipped because this is not Exordium # code. Split them into smaller chunks, because Emacs on GitHub worker tends # to segmentation fault when there's too much to compile in one go. -for pattern in "modules/*.el" "init.el" "themes/*.el" ".ci/*.el"; do +for pattern in \ + "modules/init-[a-f]*.el" \ + "modules/init-[g-l]*.el" \ + "modules/init-[m-r]*.el" \ + "modules/init-[s-z]*.el" \ + "init.el" \ + "themes/*.el" \ + ".ci/*.el"; do echo "===Byte compiling: ${pattern}===" # Use find to find file names such that globs are expanded while prevent