我正在尝试从 hs-gauge
传递 --small
选项基准测试库。
我正在寻找与stack
中类似的东西,所以我可以简单地写:
cabal new-bench --benchmark-arguments="--small"
如何将参数传递给 cabal new-bench
命令?
最佳答案
到目前为止,new-bench
不支持此用法:https://github.com/haskell/cabal/issues/4643 (解决方法是手动运行可执行文件)
关于haskell - `new-bench` 命令中的 CLI 参数位于 `cabal`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48303534/