Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CLI arguments in `new-bench` command in `cabal`

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?

like image 614
vrom911 Avatar asked Nov 28 '25 18:11

vrom911


1 Answers

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)

like image 181
Li-yao Xia Avatar answered Nov 30 '25 08:11

Li-yao Xia



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!