I’m inside a large project with many internal packages. I just want to check/build one of the package. I’ve tried the following while inside the package folder containing the dune
file:
- run
dune build @./check
- the same command but with
--root .
the first throws compile errors of packages that depend on the package I’m trying to build/check, which is what I want to avoid, the second one tells me that I’m missing an .opam at the root (duh, since the .opam files of all the internal packages are all dumped at the root of the project, which I’ve now changed)
any idea :D?
6 posts - 4 participants