From 974127aa02cdddfbe4f40aac3c05ef9da62fd2f3 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Mon, 24 Apr 2023 23:00:57 +0200 Subject: makefile: add tests cmd, and testsclean --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d41aa35..19ed681 100644 --- a/Makefile +++ b/Makefile @@ -14,13 +14,19 @@ ORG_EVAL2 = --funcall org-texinfo-export-to-info ## ################################################################ -.PHONY: clean +.PHONY: infoclean tests testsclean all: $(PKG).info dir -clean: +infoclean: rm -f $(PKG).org $(PKG).texi $(PKG).info dir +tests: + cask emacs -batch -load test/ert-helper.el -f ert-run-tests-batch-and-exit + +testsclean: + rm -f stubfile.plstore~ + ## ################################################################ # May look at this in the future -- cgit v1.2.3