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

In dune-project: how to declare packages with same version?

$
0
0

Hello,

with a dune-project file like this one:

(lang dune 2.9)
(name toto)
(version 0.7.0)

(generate_opam_files true)

(source ...)
;... other opam related fields ...
(documentation ...)

(package (name toto)
 (synopsis "bla bla")
)

(package (name toto_server)
 (synopsis "bla bla bla")
 (depends toto)
)

How can I put a constraint in the (depends ) of package toto_server to make it depend on the same version of package toto ?

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 521

Trending Articles