mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: emacs-all-the-icons: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-all-the-icons)[#:tests?]: Drop argument. [#:phases]: Replace ‘check’ with a custom phase. [native-inputs]: Add emacs-f and emacs-ert-runner.
This commit is contained in:
parent
9ae7bd91bd
commit
8c19e6a0f6
1 changed files with 9 additions and 5 deletions
|
@ -22833,8 +22833,7 @@ (define-public emacs-all-the-icons
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:include '("\\.el$" "^data/")
|
`(#:include '("\\.el$" "^data/")
|
||||||
;; Compiling "test/" fails with "Symbol’s value as variable is void:
|
#:exclude '("^test/")
|
||||||
;; all-the-icons--root-code". Ignoring tests.
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'install 'install-fonts
|
(add-after 'install 'install-fonts
|
||||||
|
@ -22847,9 +22846,14 @@ (define-public emacs-all-the-icons
|
||||||
;; TODO: Unbundle.
|
;; TODO: Unbundle.
|
||||||
(install-file "file-icons.ttf" fonts)
|
(install-file "file-icons.ttf" fonts)
|
||||||
(install-file "octicons.ttf" fonts)
|
(install-file "octicons.ttf" fonts)
|
||||||
(install-file "weathericons.ttf" fonts))))))
|
(install-file "weathericons.ttf" fonts)))))
|
||||||
#:exclude '("^test/")
|
(replace 'check
|
||||||
#:tests? #f))
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(apply invoke "ert-runner" "-l"
|
||||||
|
(append (find-files "data" "\\.el")
|
||||||
|
'("all-the-icons-faces.el"))))))))
|
||||||
|
(native-inputs
|
||||||
|
(list emacs-f emacs-ert-runner))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list emacs-f emacs-memoize font-awesome font-google-material-design-icons))
|
(list emacs-f emacs-memoize font-awesome font-google-material-design-icons))
|
||||||
(home-page "https://github.com/domtronn/all-the-icons.el")
|
(home-page "https://github.com/domtronn/all-the-icons.el")
|
||||||
|
|
Loading…
Reference in a new issue