diff options
author | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2019-12-30 21:42:24 +0000 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2019-12-30 22:17:32 -0300 |
commit | e632c1334a123a2793776b0b60c04ebf00fcd7b8 (patch) | |
tree | 3d070a2e441c5e6dd0e79278d50622b3a3fe5585 /meson_options.txt | |
parent | 2af38d11ed58d95f050dc08cc038d6b4aa30ac91 (diff) | |
download | efl-e632c1334a123a2793776b0b60c04ebf00fcd7b8.tar.gz |
csharp: Add StyleCop support to dotnet build
This patch adds support to run the StyleCop rules. To enable, -Ddotnet=true
is needed, You can pass -Ddotnet-stylecop=CAXXXX,CAXXYY where X and Y are digits for CAs
or SAs. You can also ask that the CAs and SAs cause errors instead of warnings.
Differential Revision: https://phab.enlightenment.org/D10969
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 13124c1b76..50eedcc806 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -311,6 +311,18 @@ option('mono-beta', description: 'Mono/C# @beta Eo methods enabled in the efl' ) +option('dotnet-stylecop', + type: 'string', + description: 'Dotnet StyleCop checks. Use * for all, or use comma listed: -Ddotnet-stylecop=ca1062,CA1032, sa0001, SA0002, cA2225' +) + +option('dotnet-stylecop-severity', + type: 'combo', + choices: ['Warning', 'Error'], + value: 'Warning', + description: 'Dotnet StyleCop checks cause compilation errors or just warnings' +) + option('mono-examples-dir', type: 'string', value: '', |