I have a base library, which I give a public name to. The .ml files live in root/src/
Additionally, I have various .ml files to support testing. These depend on the stuff in the base library. These files are in root/test/. I don’t want them in the base library (they aren’t part of the library proper).
Additionally, I have a test executable, which depends on the base library, and the testing .ml files. This lives in root/bin/
My question is: how to tell dune about this? I don’t want a public library for the testing .ml files. Also, I want a .merlin in the root/bin directory which references the compiled versions of the base lib and the stuff in root/test.