aboutsummaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-07-14 11:52:14 +0100
committerChristopher Baines <mail@cbaines.net>2018-07-15 22:19:39 +0100
commit0d354666d35ea54b024f45a6b3d835e8879a5df5 (patch)
tree4d3e693a1c547670b9da4067e0d6ab41a731e2b3 /gnu/system
parentae608622f39c5585acfda29454c1ed2c0f10d5d0 (diff)
downloadguix-0d354666d35ea54b024f45a6b3d835e8879a5df5.tar.gz
guix-0d354666d35ea54b024f45a6b3d835e8879a5df5.zip
ruby-build-system: Error or return #t from all phases.
Previously, if the tests didn't pass, the check phase would evaluate to #f, but the package would be built sucessfully. This changes all the phases to raise exceptions if errors are encountered, and return #t otherwise. This involves using invoke rather than system*, so that exceptions are raised if the program exits with a status other than 0, and also returning #t at the end of functions. * gnu/build/ruby-build-system.scm (unpack): Use invoke rather than system*, and return #t at the end. (build, check): Use invoke rather than system*. (install): Remove the use of "and", and rewrite the error handling to raise an exception. (wrap): Return #t.
Diffstat (limited to 'gnu/system')
0 files changed, 0 insertions, 0 deletions