gnu: ruby-shoulda: Honor #:tests?.
* gnu/packages/ruby.scm (ruby-shoulda) [arguments]: Honor #:tests? in check phase.master
parent
208cf6916e
commit
2a34881356
|
@ -10152,9 +10152,11 @@ more complex, and error-prone.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
;; Don't run tests to avoid circular dependence with rails. Instead
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
;; just import the library to test.
|
(when tests?
|
||||||
(lambda _ (invoke "ruby" "-Ilib" "-r" "shoulda")))
|
;; 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
|
(add-after 'extract-gemspec 'relax-requirements
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "shoulda.gemspec"
|
(substitute* "shoulda.gemspec"
|
||||||
|
|
Reference in New Issue