diff options
| author | John MacFarlane <[email protected]> | 2022-03-24 12:33:53 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-03-24 12:34:17 -0700 |
| commit | 3c963bf889d260240fbc5367b390c74dd848eb4f (patch) | |
| tree | 99db8fd137399c474126c4dac28ed1fe03736f6f /Makefile | |
| parent | b9eeb77df552e39148b02c16cbb65e6b1c7a248d (diff) | |
Use cabal for 'make bench'.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -57,10 +57,11 @@ ghcid-test: ## run ghcid/stack with tests ghcid -c "stack repl --ghc-options=-XNoImplicitPrelude --flag 'pandoc:embed_data_files' --ghci-options=-fobject-code pandoc:lib pandoc:test-pandoc" bench: ## build and run benchmarks - stack bench \ - --ghc-options '$(GHCOPTS)' \ - --benchmark-arguments='$(BENCHARGS)' 2>&1 | \ - tee "bench_latest.txt" + cabal bench --benchmark-options='$(BENCHARGS)' 2>&1 | tee "bench_latest.txt" +# stack bench \ +# --ghc-options '$(GHCOPTS)' \ +# --benchmark-arguments='$(BENCHARGS)' 2>&1 | \ +# tee "bench_latest.txt" reformat: ## reformat with stylish-haskell for f in $(SOURCEFILES); do echo $$f; stylish-haskell -i $$f ; done |
