Skip to content

Commit

Permalink
make: Require Transient/Compat paths to be explicitly set
Browse files Browse the repository at this point in the history
Don't assume that the top-level of the Transient and Compat repos
reside in directory as this repo.
  • Loading branch information
kyleam committed Dec 10, 2023
1 parent 8c7c70b commit f29890d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*-autoloads.el
*.elc
/.deps
/config.mk
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit f29890d

Please # to comment.