Closed NJBS closed 6 years ago
jbuilder exec
works on "installed" files only, so you needed instead to run jbuilder build @install
(or just jbuilder build
, as @install
is the default target) and then you can run jbuilder exec hello_world
which is its installed name (you can see all this in bin/jbuild
in the sample).
It's no problem posting questions on our issue tracker, but it's also worth heading over to OCaml's Discource forum, as the issue tracker is read predominantly by jbuilder's developer team, but the forum includes many jbuilder users.
FYI, this will work in master/the next release $ jbuilder exec ./bin/main.exe
When testing out the sample project for jbuilder found here ,
jbuilder exec
doesn't seem to work:Any ideas on what I'm doing wrong? The binary file is correctly in the
_build
folder, it just seems likejbuilder exec
can't find it.