forked from defunkt/coffee-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (31 loc) · 1.08 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
.PHONY : test test-command test-imenu test-highlight test-syntax test-private
EMACS ?= emacs
CASK ?= cask
LOADPATH = -L .
LOAD_HELPER = -l test/test-helper.el
test:
$(CASK) exec $(EMACS) -Q -batch $(LOADPATH) $(LOAD_HELPER) \
-l test/coffee-command.el \
-l test/coffee-imenu.el -l test/coffee-highlight.el \
-l test/coffee-private.el -l test/coffee-syntax.el \
-f ert-run-tests-batch-and-exit
test-highlight:
$(CASK) exec $(EMACS) -Q -batch $(LOADPATH) $(LOAD_HELPER) \
-l test/coffee-highlight.el \
-f ert-run-tests-batch-and-exit
test-syntax:
$(CASK) exec $(EMACS) -Q -batch $(LOADPATH) $(LOAD_HELPER) \
-l test/coffee-syntax.el \
-f ert-run-tests-batch-and-exit
test-command:
$(CASK) exec $(EMACS) -Q -batch $(LOADPATH) $(LOAD_HELPER) \
-l test/coffee-command.el \
-f ert-run-tests-batch-and-exit
test-imenu:
$(CASK) exec $(EMACS) -Q -batch $(LOADPATH) $(LOAD_HELPER) \
-l test/coffee-imenu.el \
-f ert-run-tests-batch-and-exit
test-private:
$(CASK) exec $(EMACS) -Q -batch $(LOADPATH) $(LOAD_HELPER) \
-l test/coffee-private.el
-f ert-run-tests-batch-and-exit