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

better test runner

parent 05cdd03f
No related branches found
No related tags found
1 merge request!16Release 0.2.1.0
Pipeline #5211 passed
...@@ -89,10 +89,12 @@ ...@@ -89,10 +89,12 @@
runtimeInputs = with pkgs; [pkg-config haskell.compiler.${ghcVersion} cabal-install]; runtimeInputs = with pkgs; [pkg-config haskell.compiler.${ghcVersion} cabal-install];
text = '' text = ''
set -ex
nix run .#generate-cabal-project nix run .#generate-cabal-project
cabal update hackage.haskell.org cabal update hackage.haskell.org
cabal build all cabal build --enable-tests
cabal run tests runtests=$(cabal list-bin --enable-tests tahoe-ssk-test)
eval "$runtests"
''; '';
} }
}/bin/cabal-build-and-test"; }/bin/cabal-build-and-test";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment