For example if we have a directory structure like this:
pkg1/jbuild pkg2/jbuild pkg1_tests/jbuild pkg2_tests/jbuild pkg1.opam pkg2.opam
pkg2 for linking or preprocessing. Is it possible to do
dune runtest for
pkg2_tests without installing
Sadly I wasn’t able to find any information about this scenario in the tutorial.
For real world project - see https://github.com/mirage/ocaml-cstruct
It can be built with
dune build - it will build both
ppx_cstruct, but it is impossible to run
dune runtest in
ppx_test without installing
ppx_cstruct first. And you can’t specify something like
dune runtest -p ppx_test since there is no opam for
ppx_test. What should I do?