mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-parinfer-rust-mode: Fix tests.
* gnu/packages/emacs-xyz.scm (emacs-parinfer-rust-mode): [arguments]<test-command>: Set it. <phases>: Fix make test accessibility in phase 'configure. [native-inputs]: Add emacs-clojure-mode, emacs-ert-runner, emacs-paredit. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
13d90d602a
commit
17b77c3383
1 changed files with 6 additions and 0 deletions
|
@ -29443,10 +29443,15 @@ keep Parens and Indentation inline with one another.")
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
#:test-command #~(list "make" "test" "CASK=")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'configure
|
(add-after 'unpack 'configure
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
;; Skip all non-necessary targets.
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("^test:.*$")
|
||||||
|
"test:\n"))
|
||||||
(let ((parinfer-lib
|
(let ((parinfer-lib
|
||||||
(string-append
|
(string-append
|
||||||
(dirname
|
(dirname
|
||||||
|
@ -29462,6 +29467,7 @@ keep Parens and Indentation inline with one another.")
|
||||||
("defcustom parinfer-rust-library-directory" parinfer-lib)
|
("defcustom parinfer-rust-library-directory" parinfer-lib)
|
||||||
("defconst parinfer-rust--lib-name"
|
("defconst parinfer-rust--lib-name"
|
||||||
"libparinfer_rust.so"))))))))
|
"libparinfer_rust.so"))))))))
|
||||||
|
(native-inputs (list emacs-clojure-mode emacs-ert-runner emacs-paredit))
|
||||||
(inputs (list parinfer-rust-emacs))
|
(inputs (list parinfer-rust-emacs))
|
||||||
(propagated-inputs (list emacs-track-changes))
|
(propagated-inputs (list emacs-track-changes))
|
||||||
(home-page "https://github.com/justinbarclay/parinfer-rust-mode")
|
(home-page "https://github.com/justinbarclay/parinfer-rust-mode")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue