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

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

[elpa] externals/realgud 81b3d3d 06/72: Travis 4th try


From: Stefan Monnier
Subject: [elpa] externals/realgud 81b3d3d 06/72: Travis 4th try
Date: Fri, 26 Mar 2021 22:49:03 -0400 (EDT)

branch: externals/realgud
commit 81b3d3d914e00029bdcab9d0c675b1afa7e18a4c
Author: rocky <rocky@gnu.org>
Commit: rocky <rocky@gnu.org>

    Travis 4th try
---
 Cask             | 4 ++--
 cask-install.el  | 7 +++++++
 test/Makefile.am | 6 +++---
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/Cask b/Cask
index 29fa0ff..569e013 100644
--- a/Cask
+++ b/Cask
@@ -1,8 +1,8 @@
+(package-file "realgud.el")
+
 (source gnu)
 (source melpa)
 
-(package-file "realgud.el")
-
 (depends-on "load-relative")
 (depends-on "loc-changes")
 
diff --git a/cask-install.el b/cask-install.el
new file mode 100644
index 0000000..79b0884
--- /dev/null
+++ b/cask-install.el
@@ -0,0 +1,7 @@
+(require 'cask "~/.cask/cask.el")
+(let*
+    ((parent-dir
+      (if (string-match "test/$" default-directory)
+       (file-name-directory (directory-file-name default-directory))
+      default-directory)))
+  (cask-initialize parent-dir))
diff --git a/test/Makefile.am b/test/Makefile.am
index f53fd0d..767ebf5 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -48,8 +48,8 @@ EL_GET_CHECK_FILES = $(notdir $(test_files:.el=.elrun))
 #: Run all tests
 check: $(CHECK_FILES)
 
-#: Run all tests via el-get
-check-elget: $(EL_GET_CHECK_FILES)
+#: Run all tests via cask
+check-cask: $(EL_GET_CHECK_FILES)
 
 #: Run all tests with minimum verbosity
 check-short:
@@ -64,7 +64,7 @@ test-%.run:
 
 #: Run tests using el-get to specify external Lisp dependencies
 test-%.elrun:
-       (cd $(top_srcdir)/test && $(EMACS) --batch --no-site-file --no-splash 
--load ../el-get-install.el --load $(@:.elrun=.el))
+       (cd $(top_srcdir)/test && $(EMACS) --batch --no-site-file --no-splash 
--load ../cask-install.el --load $(@:.elrun=.el))
 
 install-lispLISP: $(lisp_LISP) $(ELCFILES)
 



reply via email to

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