Add a flag to fail with error on warnings
My use case is checking LIGO contracts in CI. It would be extremely useful to have the ability to make ligo compile-contract
return non-zero code in case of any warnings.
AFAIU, by 0.12.0
version the best I can do is to check stderr
and hope that it is empty if no warnings/errors occur.