branch: externals/eglot
commit 95ef9e1197a12002fd83a9c3a4c3f1a7039435df
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>
Robustify tests against (M)ELPA eglot installations
* Makefile (eglot-check, %.elc): Setup load-path after package-initialize.
---
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index fcff632..637deb7 100644
--- a/Makefile
+++ b/Makefile
@@ -19,15 +19,16 @@ all: compile
# Compilation
#
%.elc: %.el
- $(EMACS) -Q $(LOAD_PATH) $(JSONRPC) --batch -f batch-byte-compile $<
+ $(EMACS) -Q $(JSONRPC) $(LOAD_PATH) --batch -f batch-byte-compile $<
compile: $(ELCFILES)
# Automated tests
#
eglot-check: compile
- $(EMACS) -Q --batch $(LOAD_PATH) \
+ $(EMACS) -Q --batch \
$(JSONRPC) \
+ $(LOAD_PATH) \
-l eglot \
-l eglot-tests \
--eval '(setq ert-batch-backtrace-right-margin 200)' \