nix: update nixpkgs to use cabal-install 3.4
[haskell/symantic-parser.git] / Makefile
index 8369082c2c3832cf05a2c02ed9c70e61b70a0ccc..e4f099fb6a78759effd61d15d0fb0a7b43abbd41 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,12 @@ t:
 t/accept:
        cabal test --test-show-details always --test-options "--accept --color always --size-cutoff 100000"
 t/prof:
+       cabal test --enable-profiling -fprof-auto -fprof-auto-calls --test-show-details always --test-options "+RTS -p -L100 -hc"
+t/cover:
        cabal test --enable-profiling --enable-library-coverage --enable-coverage --test-show-details always
+t/prof-th:
+       cabal v2-build lib:symantic-parser --enable-debug --enable-profiling --write-ghc-environment-files=always
+       ghc -prof -fprof-auto -eventlog -debug -fexternal-interpreter -opti+RTS -opti-p -opti-L100 -opti-ls -opti-hy --make -XHaskell2010 -XNoImplicitPrelude -itest test/Main.hs -Wall -ddump-splices
 t/repl:
        cabal repl --enable-tests symantic-parser-test
 t/splices: t