mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 15:37:54 -05:00
gnu: ruby-shoulda-context: Honor #:tests?.
* gnu/packages/ruby.scm (ruby-shoulda-context) [arguments]: Honor #:tests? in check phase.
This commit is contained in:
parent
05d00e585e
commit
d2b8af9b82
1 changed files with 5 additions and 4 deletions
|
@ -10091,10 +10091,11 @@ (define-public ruby-shoulda-context
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
;; Do not run tests to avoid circular dependence with rails.
|
||||
;; Instead just import the library to test.
|
||||
(invoke "ruby" "-Ilib" "-r" "shoulda-context"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
;; Do not run tests to avoid circular dependence with rails.
|
||||
;; Instead just import the library to test.
|
||||
(invoke "ruby" "-Ilib" "-r" "shoulda-context")))))))
|
||||
(synopsis "Test::Unit context framework extracted from Shoulda")
|
||||
(description
|
||||
"@code{shoulda-context} is the context framework extracted from Shoulda.
|
||||
|
|
Loading…
Reference in a new issue