ocaml/dune

Exit with code 0 when using —auto-promote

Offen

#785 geöffnet am 19.05.2018

 (2 Kommentare) (2 Reaktionen) (1 zugewiesene Person)OCaml (478 Forks)github user discovery
clihelp wanted

Repository-Metriken

Stars
 (1.882 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1T 20h) (345 gemergte PRs in 30 T)

Beschreibung

Running jbuilder build @settests --auto-promote where it is expected to promote a revised test/jbuild.inc file, but one ends up having to do sh -c "jbuilder build @settests --auto-promote || true" in, say, an opam file in order to skip the error.

It would be great if Dune returned exit code 0 when —auto-promote has been specified (assuming a fixed point in the build has been reached)

Contributor Guide