Skip to content

Commit 1e9fc35

Browse files
committed
Make cask and emacs locations overridable.
1 parent ab9c2e4 commit 1e9fc35

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
EMACS=$(shell which emacs) -Q -batch -L .
1+
EMACS ?= emacs
2+
CASK ?= cask
23
ELS = \
34
typescript-mode.el \
45
typescript-mode-test-utilities.el \
@@ -11,9 +12,9 @@ clean:
1112
rm -f $(ELCS)
1213

1314
cask: clean
14-
cask build
15+
$(CASK) build
1516

1617
test: cask
17-
+ $(EMACS) -l typescript-mode-tests.el -f ert-run-tests-batch-and-exit
18+
+ $(EMACS) -Q -batch -L . -l typescript-mode-tests.el -f ert-run-tests-batch-and-exit
1819

1920
# end

0 commit comments

Comments
 (0)