[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot ad98247 02/62: jsonrpc must be available when com
From: |
Stefan Monnier |
Subject: |
[elpa] externals/eglot ad98247 02/62: jsonrpc must be available when compiling, too |
Date: |
Sat, 29 Sep 2018 17:13:27 -0400 (EDT) |
branch: externals/eglot
commit ad982479bcd00fd166112ccc5cfa827b3353039d
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
jsonrpc must be available when compiling, too
* Makefile (JSONRPC): New variable.
---
Makefile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 099c137..20521fa 100644
--- a/Makefile
+++ b/Makefile
@@ -10,12 +10,15 @@ LOAD_PATH=-L .
ELFILES := eglot.el eglot-tests.el
ELCFILES := $(ELFILES:.el=.elc)
+JSONRPC :=--eval '(package-initialize)' \
+ --eval '(package-install (quote jsonrpc))'
+
all: compile
# Compilation
#
%.elc: %.el
- $(EMACS) -Q $(LOAD_PATH) --batch -f batch-byte-compile $<
+ $(EMACS) -Q $(LOAD_PATH) $(JSONRPC) --batch -f batch-byte-compile $<
compile: $(ELCFILES)
@@ -23,8 +26,7 @@ compile: $(ELCFILES)
#
eglot-check: compile
$(EMACS) -Q --batch $(LOAD_PATH) \
- --eval '(package-initialize)' \
- --eval '(package-install (quote jsonrpc))' \
+ $(JSONRPC) \
-l eglot-tests \
--eval '(ert-run-tests-batch-and-exit (quote $(SELECTOR)))'
- [elpa] externals/eglot updated (07b235f -> 821b498), Stefan Monnier, 2018/09/29
- [elpa] externals/eglot ad98247 02/62: jsonrpc must be available when compiling, too,
Stefan Monnier <=
- [elpa] externals/eglot d936fbd 01/62: Install jsonrpc package when running tests, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 0c85b8f 05/62: Tests only kill server-related buffers when successfull, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 400623f 03/62: Test with Emacs 26.1, not the 26 pre-release, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 5d88eed 06/62: Close #39: Handle experimental/unknown server methods gracefully, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 3ac4b64 04/62: * Makefile (JSONRPC): Call package-refresh-contents, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 8d61eca 09/62: Close #44: Don't turn on flymake-mode any more than is needed, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot a57d5d8 07/62: Close #29: Implement workspace/didChangeConfiguration (#40), Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 616ad53 13/62: Close #48: be less verbose when using eglot-ensure, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot eeb34c6 21/62: Default eglot-handle-notifictiona|request must &allow-other-keys, Stefan Monnier, 2018/09/29
- [elpa] externals/eglot 04f7db7 10/62: Per #48: Fix messages of eglot-ensure, Stefan Monnier, 2018/09/29