Skip to content

Commit

Permalink
Install jsonrpc as part of make check
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed Feb 1, 2024
1 parent 45f9ae5 commit 1254de7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export EMACS ?= $(shell which emacs)

DEPS = jsonrpc-1.0.19/jsonrpc.el
JSONRPC = jsonrpc-1.0.19/jsonrpc.el

ELFILES = $(DEPS) dape.el dape-tests.el
ELFILES = dape.el dape-tests.el
ELCFILES = $(addsuffix .elc, $(basename $(ELFILES)))

all: $(ELCFILES)
Expand All @@ -20,6 +20,7 @@ check: $(DEPS) $(ELCFILES)
@${EMACS} -Q \
-batch \
-l ert \
--eval="(package-install-file \"$(JSONRPC)\")" \
$(foreach file, $^, -l $(file)) \
-f ert-run-tests-batch-and-exit

Expand Down

0 comments on commit 1254de7

Please sign in to comment.