branch: externals/el-job commit 54a1e39f5c1e08e103bbcc747ba5e993b2b28f0c Author: Martin Edström <meedstro...@gmail.com> Commit: Martin Edström <meedstro...@gmail.com>
. --- .github/workflows/melpazoid.yml | 31 +++++++++++++++++++++++++++++++ README.org | 5 ++++- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/.github/workflows/melpazoid.yml b/.github/workflows/melpazoid.yml new file mode 100644 index 0000000000..76e1f7065c --- /dev/null +++ b/.github/workflows/melpazoid.yml @@ -0,0 +1,31 @@ +# melpazoid <https://github.com/riscy/melpazoid> build checks. + +# If your package is on GitHub, enable melpazoid's checks by copying this file +# to .github/workflows/melpazoid.yml and modifying RECIPE and EXIST_OK below. + +name: melpazoid +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Install + run: | + python -m pip install --upgrade pip + sudo apt-get install emacs && emacs --version + git clone https://github.com/riscy/melpazoid.git ~/melpazoid + pip install ~/melpazoid + - name: Run + env: + LOCAL_REPO: ${{ github.workspace }} + # RECIPE is your recipe as written for MELPA: + RECIPE: (shx :repo "riscy/shx-for-emacs" :fetcher github) + # set this to false (or remove it) if the package isn't on MELPA: + EXIST_OK: true + run: echo $GITHUB_REF && make -C ~/melpazoid diff --git a/README.org b/README.org index 363937f2f5..eb74ae7e75 100644 --- a/README.org +++ b/README.org @@ -1,4 +1,7 @@ -Imagine you have a function you'd like to run on a long list of inputs. You could run =(mapc #'FN INPUTS)=, but that hangs Emacs until done. +Imagine you have a function you'd like to run on a long list of inputs. You could run =(mapcar #'FN INPUTS)=, but that hangs Emacs until done. This library gives you the tools to split up the inputs and run the function in many subprocesses (one per core), then merges their outputs and passes it back to the current Emacs. In the meantime, current Emacs does not hang at all. + + +# For now, some limitations on the return values.