From 4284e580338b4b4ddc34cd634d94442e12751e7b Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Mon, 11 Sep 2017 10:50:38 -0700 Subject: [PATCH] Exclude muparser from oclint (#4397) --- build_tools/lint.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_tools/lint.fish b/build_tools/lint.fish index 266c15027..41c4d5bf1 100755 --- a/build_tools/lint.fish +++ b/build_tools/lint.fish @@ -134,14 +134,14 @@ if set -q c_files[1] oclint-xcodebuild xcodebuild.log >/dev/null end if test $all = yes - oclint-json-compilation-database -e '/pcre2-10.22/' -- -enable-global-analysis 2>&1 + oclint-json-compilation-database -e '/pcre2-10.22/' -e '/muparser-2.2.5/' -- -enable-global-analysis 2>&1 else set i_files for f in $c_files set i_files $i_files -i $f end - echo oclint-json-compilation-database -e '/pcre2-10.22/' $i_files - oclint-json-compilation-database -e '/pcre2-10.22/' $i_files 2>&1 + echo oclint-json-compilation-database -e '/pcre2-10.22/' -e '/muparser-2.2.5/' $i_files + oclint-json-compilation-database -e '/pcre2-10.22/' -e '/muparser-2.2.5/' $i_files 2>&1 end else # Presumably we're on Linux or other platform not requiring special