mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Exclude muparser from oclint (#4397)
This commit is contained in:
parent
039c3c1673
commit
4284e58033
1 changed files with 3 additions and 3 deletions
|
@ -134,14 +134,14 @@ if set -q c_files[1]
|
||||||
oclint-xcodebuild xcodebuild.log >/dev/null
|
oclint-xcodebuild xcodebuild.log >/dev/null
|
||||||
end
|
end
|
||||||
if test $all = yes
|
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
|
else
|
||||||
set i_files
|
set i_files
|
||||||
for f in $c_files
|
for f in $c_files
|
||||||
set i_files $i_files -i $f
|
set i_files $i_files -i $f
|
||||||
end
|
end
|
||||||
echo oclint-json-compilation-database -e '/pcre2-10.22/' $i_files
|
echo oclint-json-compilation-database -e '/pcre2-10.22/' -e '/muparser-2.2.5/' $i_files
|
||||||
oclint-json-compilation-database -e '/pcre2-10.22/' $i_files 2>&1
|
oclint-json-compilation-database -e '/pcre2-10.22/' -e '/muparser-2.2.5/' $i_files 2>&1
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
# Presumably we're on Linux or other platform not requiring special
|
# Presumably we're on Linux or other platform not requiring special
|
||||||
|
|
Loading…
Reference in a new issue