-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (27 loc) · 1.36 KB
/
Copy pathMakefile
File metadata and controls
33 lines (27 loc) · 1.36 KB
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
.PHONY: test lint clean update-test-results
test:
rm -rf *.elc
emacs -batch -L . -f batch-byte-compile org-mindmap-parser.el org-mindmap.el
emacs -batch -L . -l tests/test-parsing.el
emacs -batch -L . -l tests/test-rendering.el
emacs -batch -L . -l tests/test-editing.el -f ert-run-tests-batch-and-exit
emacs -batch -L . -l tests/test-conversion.el -f ert-run-tests-batch-and-exit
emacs -batch -L . -l tests/test-regressions.el -f ert-run-tests-batch-and-exit
emacs -batch -L . -l tests/test-unload.el -f ert-run-tests-batch-and-exit
emacs -batch -L . -l tests/benchmark.el
benchmark:
rm -rf *.elc
emacs -batch -L . -f batch-byte-compile org-mindmap-parser.el org-mindmap.el
emacs -batch -L . -l tests/benchmark.el
emacs -batch -L . -l tests/profile.el
# emacs -batch -L . -l tests/benchmark-profile.el
melpa:
cd ~/repos/emacs/melpa & make recipes/org-mindmap & make sandbox INSTALL=org-mindmap
update-test-results:
emacs -batch -L . -f batch-byte-compile org-mindmap-parser.el org-mindmap.el
UPDATE_SNAPSHOTS=1 emacs -batch -L . -l tests/test-parsing.el
lint:
emacs -batch -f package-initialize -L . --eval "(require 'package-lint)" -f package-lint-batch-and-exit org-mindmap.el org-mindmap-parser.el
emacs -batch -L . --eval "(require 'checkdoc)" --eval "(checkdoc-file \"org-mindmap.el\")" --eval "(checkdoc-file \"org-mindmap-parser.el\")"
clean:
rm -f *.elc *~