Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 521

Dune rule depending on profile

$
0
0

Hello,

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,

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 521

Trending Articles