aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9771ba8..d9e4060 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,20 @@
EMACS ?= emacs
ELFILES := perspective.el
ELCFILES = $(ELFILES:.el=.elc)
+TESTFILES := $(wildcard test/test-*.el)
all: test
.PHONY: test
test:
- $(EMACS) -nw -Q -batch -L . -l ert $(addprefix -l ,$(wildcard test/*.el)) \
+ $(EMACS) -nw -Q -batch -L . -l ert $(addprefix -l ,$(TESTFILES)) \
--eval "(ert-run-tests-batch-and-exit)"
+.PHONY: perf
+perf:
+ $(EMACS) -nw -Q -batch -L . -l test/perf-perspective.el \
+ --eval "(persp-perf-run)"
+
.PHONY: compile
compile: $(ELCFILES)