[PATCH v3 2/3] emacs: Add simple make target to compile emacs lisp tests

Subject: [PATCH v3 2/3] emacs: Add simple make target to compile emacs lisp tests

Date: Sat, 25 Apr 2020 22:18:08 +0200

To: notmuch@notmuchmail.org

Cc:

From: Jonas Bernoulli


---
 test/Makefile.local | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/Makefile.local b/test/Makefile.local
index 47244e8f..3c043717 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -78,6 +78,10 @@ endif
 
 check: test
 
+compile-elisp-tests:
+	$(EMACS) --batch -L emacs -L test -l notmuch.el -l test-lib.el -f \
+	batch-byte-compile test/*.el
+
 SRCS := $(SRCS) $(test_srcs)
 CLEAN += $(TEST_BINARIES) $(addsuffix .o,$(TEST_BINARIES)) \
 	 $(dir)/database-test.o \
-- 
2.26.0

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: