aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-04-24 23:00:57 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-04-24 23:00:57 +0200
commit974127aa02cdddfbe4f40aac3c05ef9da62fd2f3 (patch)
tree8f360a024b4f0fc4684b65b5d2f3fa2dceb16fd0
parentd5fa6bbb03318490e0ad041d09331871e2877efb (diff)
makefile: add tests cmd, and testsclean
-rw-r--r--Makefile10
1 files 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