me
/
guix
Archived
1
0
Fork 0

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.
master
Efraim Flashner 2023-03-16 21:51:44 +02:00
parent 40d8a8c90f
commit ef06671d8f
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 3 additions and 2 deletions

View File

@ -4490,8 +4490,9 @@ is to be run.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "sh" "script/test"))))))
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "sh" "script/test")))))))
(native-inputs
(list bundler ruby-turn))
(synopsis "Pretty-print hashes and arrays in MiniTest")