-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile
42 lines (36 loc) · 1.14 KB
/
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
34
35
36
37
38
39
40
41
42
EMACS = emacs
deps:
mkdir -p /tmp/xenops-packages
bash tests/setup/install-auctex.sh /tmp/xenops-packages
$(EMACS) \
-batch \
-l tests/setup/init.el \
-l tests/setup/install-deps.el
test:
$(EMACS) \
-batch \
-l tests/setup/init.el \
--eval "(add-to-list 'load-path \"lisp\")" \
--eval "(add-to-list 'load-path \"/tmp/xenops-packages/auctex\")" \
--eval '(setq ert-batch-backtrace-right-margin 230)' \
-l lisp/xenops.el \
-l tests/xenops-test--utils.el \
-l tests/xenops-test--mocks.el \
-l tests/xenops-test-elements.el \
-l tests/xenops-test-footnote.el \
-l tests/xenops-test-image.el \
-l tests/xenops-test-math-latex.el \
-l tests/xenops-test-math.el \
-l tests/xenops-test-parse.el \
-l tests/xenops-test-png.el \
-l tests/xenops-test-src.el \
-l tests/xenops-test-util.el \
-l tests/xenops-test-xen.el \
-f ert-run-tests-batch-and-exit
lint:
emacs -Q --batch -l elisp-lint.el -f elisp-lint-files-batch lisp/*.el
compile:
./etc/bin/emacs --batch -f batch-byte-compile lisp/*.el
package-lint:
./etc/bin/emacs --batch -f package-lint-batch-and-exit lisp/*.el
.PHONY: deps test lint compile package-lint