Hi, sorry for the basic question but I’m having a very hard time finding my way through the dune documentation. From time to time I write a one-file binary to process corpus data for scientific purposes. This time I decided to compile it with dune so it’s easier to make it grow later, and I would like dune to take care of making it available to me in an easy way, without having to care about what’s in
Ideally, I would want a way of making dune put the executable, without a
.exe extension, in an arbitrary place on my system (such as
/home/myname/.local/bin/). Otherwise I would settle for having it in the root directory of my project so I can conveniently put it where I want. Can these things be done?
I had a look at the
rule stanza but it seems to require a file as target name (there is no sense in which this applies here). I also tried the install stanza with
misc as section but then dune complains about the lack of
.opam file (at any rate the documentation for
misc does not clearly say what it does, it looks like you’re not supposed to use it).