I’m wondering whether it’s possible to have a dune stanza or rule depend on the profile being used.
The use case is as follows: I want to introduce some automatic checks in my build process when using the dev profile. However, I want to disable them when distributing the software (with opam and the release profile).
I may have missed it, but I could not find any hint to achieve this in the dune documentation.
Thanks for your help,