Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(606)

Side by Side Diff: dart/site/try/poi/Makefile

Issue 611313002: Remove unused import and make Makefile more flexible (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 # warning or hints reported. The whitelist is maintained as needed by those who 11 # warning or hints reported. The whitelist is maintained as needed by those who
12 # use this Makefile. 12 # use this Makefile.
13 13
14 SDK_DIR=../../../xcodebuild/ReleaseIA32/dart-sdk 14 SDK_DIR=../../../xcodebuild/ReleaseIA32/dart-sdk
15 PACKAGE_ROOT=../../../xcodebuild/ReleaseIA32/packages/ 15 PACKAGE_ROOT=../../../xcodebuild/ReleaseIA32/packages/
16 16
17 all: 17 all:
18 @echo $(SDK_DIR)/bin/dartanalyzer -p $(PACKAGE_ROOT) repeat_poi.dart 18 @echo $(SDK_DIR)/bin/dartanalyzer -p $(PACKAGE_ROOT) repeat_poi.dart
19 @$(SDK_DIR)/bin/dartanalyzer -p $(PACKAGE_ROOT) \ 19 @$(SDK_DIR)/bin/dartanalyzer -p $(PACKAGE_ROOT) \
20 --package-warnings --machine ../poi/repeat_poi.dart 2>&1 \ 20 --package-warnings --machine ../poi/repeat_poi.dart 2>&1 \
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 'INFO|HINT|ARGUMENT_TYPE_NOT_ASSIGNABLE|' \ 23 » | grep -v -E 'INFO\|HINT\|ARGUMENT_TYPE_NOT_ASSIGNABLE\|' \
24 » | grep -v 'INFO|HINT|UNUSED_IMPORT|.*/compiler/implementation/cps_ir/opt imizers\.dart|7|8|27|' \ 24 » | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/cps_ ir/optimizers\.dart\|7\|8\|27\|' \
25 » | grep -v 'INFO|HINT|UNUSED_IMPORT|.*/compiler/implementation/dart2jslib \.dart|26|8|22|' \ 25 » | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/dart 2jslib\.dart\|26\|8\|22\|' \
26 » | grep -v '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 'INFO|HINT|UNUSED_IMPORT|.*/compiler/implementation/deferred_l oad\.dart|59|8|11|' \ 27 » | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/elem ents/elements\.dart\|[0-9]+\|8\|25\|' \
28 » | grep -v 'INFO|HINT|UNUSED_IMPORT|.*/compiler/implementation/elements/e lements\.dart|28|8|25|' \ 28 » | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/elem ents/modelx\.dart\|[0-9]+\|8\|25\|' \
29 » | grep -v 'INFO|HINT|UNUSED_IMPORT|.*/compiler/implementation/elements/m odelx\.dart|8|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 'INFO|HINT|UNUSED_IMPORT|.*/compiler/implementation/js_emitter /js_emitter\.dart|47|8|25|' \ 30 » | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/libr ary_loader\.dart\|25\|8\|22\|' \
31 » | grep -v 'INFO|HINT|UNUSED_IMPORT|.*/compiler/implementation/library_lo ader\.dart|25|8|22|' \ 31 » | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/patc h_parser\.dart\|120\|8\|22\|' \
32 » | grep -v 'INFO|HINT|UNUSED_IMPORT|.*/compiler/implementation/patch_pars er\.dart|120|8|22|' \ 32 » | grep -v -E 'INFO\|HINT\|UNUSED_IMPORT\|.*/compiler/implementation/reso lution/class_members\.dart\|22\|8\|25\|' \
33 » | grep -v 'INFO|HINT|UNUSED_IMPORT|.*/compiler/implementation/resolution /class_members\.dart|22|8|25|' \
34 | sed -e "s,$(PWD)/,," \ 33 | sed -e "s,$(PWD)/,," \
35 | awk -F'|' '{print $$4 ":" $$5 ":" $$6 ":\n [" n$$3 "]" $$8 }' \ 34 | awk -F'|' '{print $$4 ":" $$5 ":" $$6 ":\n [" n$$3 "]" $$8 }' \
OLDNEW
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698