ocaml/dune

Exit with code 0 when using —auto-promote

Open

#785 opened on May 19, 2018

 (2 comments) (2 reactions) (1 assignee)OCaml (478 forks)github user discovery
clihelp wanted

Repository metrics

Stars
 (1,882 stars)
PR merge metrics
 (Avg merge 1d 20h) (345 merged PRs in 30d)

Description

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