There is a {dev} annotation that you can put on your dependencies. The dependencies marked this way will only be installed during a local install or a pin.
Ah. okay. Thanks. Is this defined somewhere in the manual ? I tried here http://opam.ocaml.org/doc/Manual.html but it doesn’t mention {dev} constraint in the depends section.
it is covered in https://opam.ocaml.org/doc/Manual.html#pkgvar-dev but I do agree that the explanation is not very clear at first hand.