emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/typescript-mode 1e9fc35cb9 210/222: Make cask and emacs lo


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode 1e9fc35cb9 210/222: Make cask and emacs locations overridable.
Date: Sun, 6 Feb 2022 16:59:33 -0500 (EST)

branch: elpa/typescript-mode
commit 1e9fc35cb9cf6adb97f1344e04d872f5143533ce
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>

    Make cask and emacs locations overridable.
---
 Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 35eda6a12b..ea7a2ea227 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-EMACS=$(shell which emacs) -Q -batch -L .
+EMACS ?= emacs
+CASK ?= cask
 ELS = \
   typescript-mode.el \
   typescript-mode-test-utilities.el \
@@ -11,9 +12,9 @@ clean:
        rm -f $(ELCS)
 
 cask: clean
-       cask build
+       $(CASK) build
 
 test: cask
-       + $(EMACS) -l typescript-mode-tests.el -f ert-run-tests-batch-and-exit
+       + $(EMACS) -Q -batch -L . -l typescript-mode-tests.el -f 
ert-run-tests-batch-and-exit
 
 # end



reply via email to

[Prev in Thread] Current Thread [Next in Thread]