guix-devel/guix/build
Christopher Baines 0d354666d3
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.
2018-07-15 22:19:39 +01:00
..
android-ndk-build-system.scm build-system: android-ndk: Let upstream install header files. 2018-05-10 01:06:22 +02:00
ant-build-system.scm gnu: java: Return #t from all phases and snippets. 2018-06-28 03:55:37 -04:00
asdf-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
bournish.scm
cargo-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
cmake-build-system.scm build-system/cmake: Use invoke instead of system*. 2018-03-16 05:01:50 -04:00
compile.scm compile: Work around non-thread-safe module autoloading. 2018-06-18 23:19:51 +02:00
cvs.scm cvs-download: Use invoke instead of system*. 2018-03-16 05:02:32 -04:00
download-nar.scm
download.scm
dub-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
emacs-build-system.scm Merge branch 'master' into core-updates 2018-04-21 05:02:52 -04:00
emacs-utils.scm Merge branch 'master' into core-updates 2018-05-06 15:56:24 +02:00
font-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
git.scm
glib-or-gtk-build-system.scm build-system/glib-or-gtk: Use invoke instead of system*. 2018-03-16 05:01:47 -04:00
gnu-build-system.scm ld-wrapper: Allow linking with non-store libraries by default. 2018-03-29 17:58:16 +02:00
gnu-dist.scm gnu-dist: Use invoke instead of system*. 2018-03-16 05:01:43 -04:00
go-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
graft.scm
gremlin.scm gremlin: Fix typo in export list. 2018-03-29 17:58:15 +02:00
haskell-build-system.scm build-system/haskell: Make phases fail on error. 2018-07-11 02:45:53 +02:00
hg.scm hg-download: Use invoke instead of system*. 2018-03-16 05:02:36 -04:00
java-utils.scm gnu: java: Return #t from all phases and snippets. 2018-06-28 03:55:37 -04:00
lisp-utils.scm
make-bootstrap.scm
meson-build-system.scm meson-build-system: Return #t from all phases. 2018-06-28 03:55:34 -04:00
minify-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
ocaml-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
perl-build-system.scm build-system/perl: Use invoke instead of system*. 2018-03-16 05:01:52 -04:00
profiles.scm profiles: Factorize 'manifest-search-paths'. 2018-07-11 00:52:36 +02:00
pull.scm
python-build-system.scm build-system/python: Fix deletion of .egg-info dirs created by tests. 2018-03-18 00:49:05 -04:00
qt-utils.scm
r-build-system.scm build-system/r: Use invoke. 2018-05-31 13:24:17 +02:00
rpath.scm
ruby-build-system.scm ruby-build-system: Error or return #t from all phases. 2018-07-15 22:19:39 +01:00
scons-build-system.scm build-system/scons: Use invoke instead of system*. 2018-03-16 05:01:57 -04:00
store-copy.scm database: Add 'register-items'. 2018-06-14 11:17:00 +02:00
svn.scm svn-download: Use invoke instead of system*. 2018-03-16 05:02:34 -04:00
syscalls.scm syscalls: Define AT_SYMLINK_NOFOLLOW et al. 2018-07-03 17:50:04 +02:00
texlive-build-system.scm build-system/texlive: Use invoke instead of system*. 2018-03-16 05:01:56 -04:00
union.scm union: Do not warn about harmless collisions. 2018-05-17 10:48:37 +02:00
utils.scm utils: invoke: Raise exceptions using SRFI-34 and SRFI-35. 2018-03-16 20:02:47 -04:00
waf-build-system.scm build-system/waf: Use invoke. 2018-06-19 10:48:14 +02:00