mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
gnu: ruby-minitest-pretty-diff: Honor the #:tests? flag.
* gnu/packages/ruby.scm (ruby-minitest-pretty-diff)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
This commit is contained in:
parent
40d8a8c90f
commit
ef06671d8f
1 changed files with 3 additions and 2 deletions
|
@ -4490,8 +4490,9 @@ (define-public ruby-minitest-pretty-diff
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "sh" "script/test"))))))
|
(when tests?
|
||||||
|
(invoke "sh" "script/test")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list bundler ruby-turn))
|
(list bundler ruby-turn))
|
||||||
(synopsis "Pretty-print hashes and arrays in MiniTest")
|
(synopsis "Pretty-print hashes and arrays in MiniTest")
|
||||||
|
|
Loading…
Reference in a new issue