Dune: Document how to disable warning-as-errors

Created on 16 Oct 2018  路  2Comments  路  Source: ocaml/dune

Wasn't able to find any mention of this in the documentation, I had some warnings when using jbuilder, was just ignoring them, after migration to dune it enforces them as errors. I believe many people will meet this problem upon conversion.

docs

Most helpful comment

Perhaps we can add this in the FAQ?

All 2 comments

It's true that it's a bit hidden in the documentation at the moment.

You can disable that behavior by passing --profile release to dune.

Note that dune still ships a jbuilder binary that ignores warnings by default, so this means that you can convert your jbuild files to dune files, while continuing to use the jbuilder executable which will ignore the warnings.

Perhaps we can add this in the FAQ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ShengChen picture ShengChen  路  5Comments

Lelio-Brun picture Lelio-Brun  路  6Comments

bobbypriambodo picture bobbypriambodo  路  5Comments

Chris00 picture Chris00  路  8Comments

jeremiedimino picture jeremiedimino  路  5Comments