0d354666d3
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. |
||
---|---|---|
.. | ||
android-ndk-build-system.scm | ||
ant-build-system.scm | ||
asdf-build-system.scm | ||
bournish.scm | ||
cargo-build-system.scm | ||
cmake-build-system.scm | ||
compile.scm | ||
cvs.scm | ||
download-nar.scm | ||
download.scm | ||
dub-build-system.scm | ||
emacs-build-system.scm | ||
emacs-utils.scm | ||
font-build-system.scm | ||
git.scm | ||
glib-or-gtk-build-system.scm | ||
gnu-build-system.scm | ||
gnu-dist.scm | ||
go-build-system.scm | ||
graft.scm | ||
gremlin.scm | ||
haskell-build-system.scm | ||
hg.scm | ||
java-utils.scm | ||
lisp-utils.scm | ||
make-bootstrap.scm | ||
meson-build-system.scm | ||
minify-build-system.scm | ||
ocaml-build-system.scm | ||
perl-build-system.scm | ||
profiles.scm | ||
pull.scm | ||
python-build-system.scm | ||
qt-utils.scm | ||
r-build-system.scm | ||
rpath.scm | ||
ruby-build-system.scm | ||
scons-build-system.scm | ||
store-copy.scm | ||
svn.scm | ||
syscalls.scm | ||
texlive-build-system.scm | ||
union.scm | ||
utils.scm | ||
waf-build-system.scm |