* Improve jbuilder exec When the path passed contianed to exec contains a '/', it will be interpreted relative to the path of a build context (default context when absent) * Update man page of jbuilder exec * Add String.drop_prefix * Make jbuilder exec understand relative/absolute paths jbuilder exec will now interpret absolute paths as relative to the specified build context. While relative paths will now be intepreted relative to the cwd appended to the specified build context. * Fix jbuilder exec /absolute/path When the path provided to jbuilder exec is absolute, we should ignore the build context for looking up the binary. * Fix exec when ran outside of root Previously, a call like $ jbuilder exec ./xxx --root=p would raise an exception. Now ./xxx will be intepreterd relative to --root. * Fix relative paths when jbuilder is ran outside of --root * Simplify documentation for jbuilder exec |
||
---|---|---|
.. | ||
jbuild | ||
main.ml | ||
main.mli |