chore: show dart2js package warnings for angular2, benchmarks, examples

Closes #1468
This commit is contained in:
Kevin Moore 2015-04-19 16:21:51 -07:00 committed by Misko Hevery
parent e51a48fe4c
commit 7551a28f1a
4 changed files with 23 additions and 11 deletions

View File

@ -17,7 +17,10 @@ dependencies:
logging: '>=0.9.0 <0.11.0' logging: '>=0.9.0 <0.11.0'
source_span: '^1.0.0' source_span: '^1.0.0'
stack_trace: '^1.1.1' stack_trace: '^1.1.1'
transformers:
- angular2
dev_dependencies: dev_dependencies:
guinness: "^0.1.17" guinness: "^0.1.17"
transformers:
- angular2
- $dart2js:
commandLineOptions:
- --show-package-warnings

View File

@ -25,4 +25,8 @@ transformers:
- web/src/tree/tree_benchmark.dart - web/src/tree/tree_benchmark.dart
- $dart2js: - $dart2js:
minify: false minify: false
commandLineOptions: ['--dump-info', '--trust-type-annotations', '--trust-primitives'] commandLineOptions:
- --dump-info
- --trust-type-annotations
- --trust-primitives
- --show-package-warnings

View File

@ -12,3 +12,6 @@ transformers:
html_files: html_files:
- web/src/naive_infinite_scroll/scroll_area.html - web/src/naive_infinite_scroll/scroll_area.html
- web/src/naive_infinite_scroll/scroll_item.html - web/src/naive_infinite_scroll/scroll_item.html
- $dart2js:
commandLineOptions:
- --show-package-warnings

View File

@ -15,11 +15,13 @@ dev_dependencies:
benchpress: benchpress:
path: ../benchpress path: ../benchpress
transformers: transformers:
- angular2: - angular2:
entry_points: web/src/hello_world/index_common.dart entry_points: web/src/hello_world/index_common.dart
reflection_entry_points: web/src/hello_world/index.dart reflection_entry_points: web/src/hello_world/index.dart
- $dart2js: - $dart2js:
minify: false minify: false
#commandLineOptions: [--trust-type-annotations, --trust-primitives, --dump-info] commandLineOptions:
#commandLineOptions: [--trust-type-annotations, --dump-info] - --dump-info
commandLineOptions: [--dump-info] - --show-package-warnings
#- --trust-type-annotations
#- --trust-primitives