OLD | NEW |
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 # This Makefile is used to run the analyzer on the sources of poi.dart. | 5 # This Makefile is used to run the analyzer on the sources of poi.dart. |
6 # Unfortunately, we have to ignore some hints either due to bugs in the | 6 # Unfortunately, we have to ignore some hints either due to bugs in the |
7 # analyzer, or due to patterns in dart2js (for example, unused imports of | 7 # analyzer, or due to patterns in dart2js (for example, unused imports of |
8 # helpers.dart). | 8 # helpers.dart). |
9 # | 9 # |
10 # The purpose of this Makefile is to be used from inside Emacs to fix any valid | 10 # The purpose of this Makefile is to be used from inside Emacs to fix any valid |
(...skipping 10 matching lines...) Expand all Loading... |
21 | grep -v DEPRECATED_MEMBER_USE \ | 21 | grep -v DEPRECATED_MEMBER_USE \ |
22 | grep -v DEAD_CODE \ | 22 | grep -v DEAD_CODE \ |
23 | grep -v -E 'INFO\|HINT\|ARGUMENT_TYPE_NOT_ASSIGNABLE\|' \ | 23 | grep -v -E 'INFO\|HINT\|ARGUMENT_TYPE_NOT_ASSIGNABLE\|' \ |
24 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/cps_
ir/optimizers\.dart\|7\|8\|27\|' \ | 24 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/cps_
ir/optimizers\.dart\|7\|8\|27\|' \ |
25 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/dart
2jslib\.dart\|26\|8\|22\|' \ | 25 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/dart
2jslib\.dart\|26\|8\|22\|' \ |
26 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/dart
_types\.dart\|17\|8\|22\|' \ | 26 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/dart
_types\.dart\|17\|8\|22\|' \ |
27 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/elem
ents/elements\.dart\|[0-9]+\|8\|25\|' \ | 27 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/elem
ents/elements\.dart\|[0-9]+\|8\|25\|' \ |
28 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/elem
ents/modelx\.dart\|[0-9]+\|8\|25\|' \ | 28 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/elem
ents/modelx\.dart\|[0-9]+\|8\|25\|' \ |
29 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/js_e
mitter/js_emitter\.dart\|[0-9]+\|8\|25\|' \ | 29 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/js_e
mitter/js_emitter\.dart\|[0-9]+\|8\|25\|' \ |
30 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/libr
ary_loader\.dart\|25\|8\|22\|' \ | 30 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/libr
ary_loader\.dart\|25\|8\|22\|' \ |
31 » | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/patc
h_parser\.dart\|120\|8\|22\|' \ | 31 » | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/patc
h_parser\.dart\|[0-9]+\|8\|22\|' \ |
32 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/reso
lution/class_members\.dart\|22\|8\|25\|' \ | 32 | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/reso
lution/class_members\.dart\|22\|8\|25\|' \ |
33 | sed -e "s,$(PWD)/,," \ | 33 | sed -e "s,$(PWD)/,," \ |
34 | awk -F'|' '{print $$4 ":" $$5 ":" $$6 ":\n [" n$$3 "]" $$8 }' \ | 34 | awk -F'|' '{print $$4 ":" $$5 ":" $$6 ":\n [" n$$3 "]" $$8 }' \ |
OLD | NEW |