]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg/ShellPkg.ci.yaml: Add configuration for Ecc check
authorShenglei Zhang <shenglei.zhang@intel.com>
Wed, 10 Jun 2020 06:18:31 +0000 (14:18 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 17 Aug 2020 03:28:09 +0000 (03:28 +0000)
Add configuration ExceptionList and IgnoreFiles for package config
files. So users can rely on this to ignore some Ecc issues.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Acked-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
ShellPkg/ShellPkg.ci.yaml

index 565e08596b2fc372620d28e3664235d8134027fd..30894d44bc3ae9a2a9796146c5bcdc62d4ce9801 100644 (file)
@@ -2,12 +2,24 @@
 # CI configuration for ShellPkg\r
 #\r
 # Copyright (c) Microsoft Corporation\r
+# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>\r
 # SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ##\r
 {\r
     "LicenseCheck": {\r
         "IgnoreFiles": []\r
     },\r
+    "EccCheck": {\r
+        ## Exception sample looks like below:\r
+        ## "ExceptionList": [\r
+        ##     "<ErrorID>", "<KeyWord>"\r
+        ## ]\r
+        "ExceptionList": [\r
+        ],\r
+        ## Both file path and directory path are accepted.\r
+        "IgnoreFiles": [\r
+        ]\r
+    },\r
     "CompilerPlugin": {\r
         "DscPath": "ShellPkg.dsc"\r
     },\r