aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-08-10 10:32:28 -0400
committerXavier Claessens <xavier.claessens@collabora.com>2018-09-04 09:01:39 -0400
commitef231d3edd01df4d3e0f55ccc6f1c683f1bb112f (patch)
tree4a9e4d341c7c67da4eafbb36c08cf84e50ce454c /docs/markdown/snippets
parentb350c74386a3c0b7cd894ea589d3e399fd919515 (diff)
downloadmeson-ef231d3edd01df4d3e0f55ccc6f1c683f1bb112f.zip
meson-ef231d3edd01df4d3e0f55ccc6f1c683f1bb112f.tar.gz
meson-ef231d3edd01df4d3e0f55ccc6f1c683f1bb112f.tar.bz2
Add --fatal-meson-warnings command line option
This makes any warning message printed by meson raise an exception, intended to be used by CI and developpers to easily catch deprecation warnings and other potential issues.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/fatal_warnings.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/snippets/fatal_warnings.md b/docs/markdown/snippets/fatal_warnings.md
new file mode 100644
index 0000000..adf3334
--- /dev/null
+++ b/docs/markdown/snippets/fatal_warnings.md
@@ -0,0 +1,6 @@
+## Fatal warnings
+
+A new command line option has been added: `--fatal-meson-warnings`. When enabled, any
+warning message printed by Meson will be fatal and raise an exception. It is
+intended to be used by developers and CIs to easily catch deprecation warnings,
+or any other potential issues.