mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: ruby-shoulda: Honor #:tests?.
* gnu/packages/ruby.scm (ruby-shoulda) [arguments]: Honor #:tests? in check phase.
This commit is contained in:
parent
208cf6916e
commit
2a34881356
1 changed files with 5 additions and 3 deletions
|
@ -10152,9 +10152,11 @@ (define-public ruby-shoulda
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
;; Don't run tests to avoid circular dependence with rails. Instead
|
||||
;; just import the library to test.
|
||||
(lambda _ (invoke "ruby" "-Ilib" "-r" "shoulda")))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
;; Don't run tests to avoid circular dependence with rails.
|
||||
;; Instead just import the library to test.
|
||||
(invoke "ruby" "-Ilib" "-r" "shoulda"))))
|
||||
(add-after 'extract-gemspec 'relax-requirements
|
||||
(lambda _
|
||||
(substitute* "shoulda.gemspec"
|
||||
|
|
Loading…
Reference in a new issue