diff options
-rw-r--r-- | .github/workflows/test.yml | 4 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 7 |
3 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ae8a9f..ea27c1f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,6 +43,10 @@ jobs: run: make -C compat compile - name: Build transient run: make -C transient lisp + - name: Set envvars for dependencies + run: | + echo "COMPAT_DIR=$PWD/compat" >>$GITHUB_ENV + echo "TRANSIENT_DIR=$PWD/transient/lisp" >>$GITHUB_ENV - name: Build snakemake-mode run: make -C snakemake-mode all - name: Test snakemake-mode @@ -1,3 +1,4 @@ *-autoloads.el *.elc /.deps +/config.mk @@ -1,5 +1,10 @@ -LOAD_PATH = -L ../compat -L ../transient/lisp -L . +-include config.mk + +COMPAT_DIR ?= /dev/null +TRANSIENT_DIR ?= /dev/null + +LOAD_PATH = -L $(COMPAT_DIR) -L $(TRANSIENT_DIR) -L . EMACS = emacs BATCH = $(EMACS) -Q --batch $(LOAD_PATH) |