mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Trivial changes to analyze.sh (#3303)
This commit is contained in:
parent
2fc99153b7
commit
cde66eb625
@ -13,13 +13,13 @@ RESULTS=`dartanalyzer \
|
||||
out/host_debug_unopt/gen/sky/bindings/dart_ui/ui.dart \
|
||||
2>&1 \
|
||||
| grep -v "\[error\] Native functions can only be declared in the SDK and code that is loaded through native extensions" \
|
||||
| grep -Ev "\[(hint|error)\] The function '.+' (is not|isn't) used" \
|
||||
| grep -Ev "\[(hint|error)\] The function '.+' (is not|isn't) used" \
|
||||
| grep -Ev "\[(warning|error)\] Undefined name 'main'" \
|
||||
| grep -Ev "\[(warning|error)\] Undefined name 'VMLibraryHooks" \
|
||||
| grep -v "\[error\] The library ''dart:_internal'' is internal" \
|
||||
| grep -Ev "Unused import.+ui\.dart" \
|
||||
| grep -Ev "Unused import\. .+ui\.dart" \
|
||||
| grep -v "\[info\] TODO" \
|
||||
| grep -Ev "[0-9]+ errors.*found." \
|
||||
| grep -Ev "[0-9]+ errors.*found\." \
|
||||
| grep -v "Analyzing \[out/host_debug_unopt/gen/sky/bindings/dart_ui/ui.dart\]\.\.\."`
|
||||
|
||||
echo "$RESULTS"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user