ocaml/dune

Exit with code 0 when using —auto-promote

Ouverte

#785 ouverte le 19 mai 2018

 (2 commentaires) (2 réactions) (1 personne assignée)OCaml (478 forks)github user discovery
clihelp wanted

Métriques du dépôt

Stars
 (1 882 étoiles)
Métriques de merge PR
 (Merge moyen 1j 20h) (345 PRs mergées en 30 j)

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)

Guide contributeur