Skip to content

1.0+beta12 (18/08/2017)

Compare
Choose a tag to compare
@rgrinberg rgrinberg released this 19 Aug 00:00
· 12957 commits to main since this release
  • Fix the quoting of FLG lines in generated .merlin files (#200,
    Marcello Seri)

  • Use the full path of archive files when linking. Before jbuilder
    would do: -I <path> file.cmxa, now it does -I <path> <path>/file.cmxa. Fixes #118 and #177

  • Use an absolute path for ppx drivers in .merlin files. Merlin
    <3.0.0 used to run ppx commands from the directory where the
    .merlin was present but this is no longer the case

  • Allow to use jbuilder install in contexts other than opam; if
    ocamlfind is present in the PATH and the user didn't pass
    --prefix or --libdir explicitly, use the output of ocamlfind printconf destdir as destination directory for library files (#179,
    Francois Bobot)

  • Allow (:include ...) forms in all *flags fields (#153, David
    Allsopp)

  • Add a utop subsommand. Running jbuilder utop in a directory
    builds and executes a custom utop toplevel with all libraries
    defined in the current directory (#183, Rudi Grinberg)

  • Do not accept per_file anymore in preprocess field. per_file
    was renamed per_module and it is planned to reuse per_file for
    another purpose

  • Warn when a file is both present in the source tree and generated by
    a rule. Before, jbuilder would silently ignore the rule. One now has
    to add a field (fallback) to custom rules to keep the current
    behavior (#218)

  • Get rid of the deprecated-ppx-method findlib package for ppx
    rewriters (#222, fixes #163)

  • Use digests (MD5) of files contents to detect changes rather than
    just looking at the timestamps. We still use timestamps to avoid
    recomputing digests. The performance difference is negligible and we
    avoid more useless recompilations, especially when switching branches
    for instance (#209, fixes #158)