crisis.sheep
crisis.sheep

Reputation: 399

How do I set Haskell benchmarking up with Stack's package.yaml?

I keep seeing directions to set benchmarking up in my project's foo.cabal file, but surely there is a way to set it up in package.yaml?

Is there something obvious I'm missing?

Upvotes: 1

Views: 173

Answers (1)

Li-yao Xia
Li-yao Xia

Reputation: 33519

package.yaml is a configuration processed by the tool hpack, which stack just calls. From the doc of hpack we can see that there is a benchmarks field, that works mostly like tests.

Upvotes: 3

Related Questions