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

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

[nongnu] elpa/bash-completion 483643e70a 3/7: Add option eldev test --ba


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 483643e70a 3/7: Add option eldev test --bash=<path>.
Date: Mon, 18 Nov 2024 15:59:34 -0500 (EST)

branch: elpa/bash-completion
commit 483643e70a0f4120e6a2c4d27ad8838282df6e00
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>

    Add option eldev test --bash=<path>.
    
    This new option allows setting the bash executable that's used in the
    tests. This is the equivalent of writing
      BASH=<path> make test
    with the old Makefile.
---
 Eldev | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Eldev b/Eldev
index 3de498a993..177dc98595 100644
--- a/Eldev
+++ b/Eldev
@@ -13,6 +13,13 @@
 (setf eldev-standard-excludes
       `(:or ,eldev-standard-excludes "./license"))
 
+(eldev-defoption bash-eldev-completion-prog (&optional path)
+  "Tests look for Bash at PATH."
+  :options        (--bash)
+  :optional-value PATH
+  :for-command    test
+  (setq bash-completion-prog (when path (executable-find path))))
+
 ;; After a release, add a snapshot to tag a development version, so if the
 ;; release is 1.0.0, the following development version is 1.0.1snapshot
 ;; and the next release is going to be 1.0.2 or 1.1.



reply via email to

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