-
-
Notifications
You must be signed in to change notification settings - Fork 133
/
Makefile
33 lines (23 loc) · 686 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
emacs ?= emacs
BEMACS = $(emacs) -batch -l elpa.el
LOAD = -l lispy-inline.el -l lispy.el
QEMACS = $(emacs) -Q -l elpa.el -l targets/interactive-init.el
all: compile test
update:
$(emacs) -batch -l targets/install-deps.el
compile:
$(BEMACS) $(LOAD) -l targets/compile.el
checkdoc:
$(emacs) -batch -l elpa.el $(LOAD) -l targets/checkdoc.el
check-declare:
$(BEMACS) $(LOAD) -l targets/check-declare.el
test:
@echo "Using $(shell which $(emacs))..."
$(BEMACS) -l lispy-test.el $(LOAD) -f ert-run-tests-batch-and-exit
plain:
$(QEMACS) -l elpa.el lispy.el
clojure:
clojure -M -e '(load-file "targets/tlc.clj")'
clean:
rm -f *.elc
.PHONY: all clean elisp check-declare test