3

I'm trying to pass the --small option from hs-gauge benchmarking library.

I am looking to something similar to what is in stack so I could simply write:

cabal new-bench --benchmark-arguments="--small"

How can I pass the argument to the cabal new-bench command?

Shersh
  • 9,019
  • 3
  • 33
  • 61
vrom911
  • 694
  • 1
  • 5
  • 16

1 Answers1

2

As of now, this usage is not supported by new-bench: https://github.com/haskell/cabal/issues/4643 (a workaround is to run the executable(s) manually)

Li-yao Xia
  • 31,896
  • 2
  • 33
  • 56