gnu: ruby-brass: Respect #:tests? argument.

* gnu/packages/ruby.scm (ruby-brass): [phases] {check}: Skip the 'check
phase when #:tests? is false.

Change-Id: I8f1a600a003c1834fe36ae06f09b24cc216d4833
This commit is contained in:
Sharlatan Hellseher 2025-02-17 10:58:10 +00:00 committed by Andreas Enge
parent caa5c41b68
commit 6b92421db8
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -12326,8 +12326,9 @@ single pass.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "ruby" "-Ilib" "-r" "brass"))))))
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "ruby" "-Ilib" "-r" "brass")))))))
(synopsis "Basic foundational assertions framework")
(description
"BRASS (Bare-Metal Ruby Assertion System Standard) is a basic