Skip to content
Snippets Groups Projects
Commit 020e8b1c authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

make sure the ci job will fail if a cabal command fails

parent 2a0bb336
No related branches found
No related tags found
1 merge request!3Package metadata and other changes towards a public release
......@@ -42,9 +42,11 @@
runtimeInputs = with pkgs; [pkg-config haskell.compiler.${ghcVersion} cabal-install];
text = ''
set -ex
cabal update hackage.haskell.org
cabal build all
cabal run tests
cabal build --enable-tests
runtests=$(cabal list-bin --enable-tests tahoe-capabilities-test)
eval "$runtests"
'';
}
}/bin/cabal-build-and-test";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment