Revise the barback transformer-finding logic slightly.
If the user specifies a transformer named "package_name", pub will now prefer "lib/transformer.dart" (if it exists) to "lib/package_name.dart". BUG=13256 R=alanknight@google.com Review URL: https://codereview.chromium.org//29603004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@29035 260f80e4-7a28-3924-810f-c04153c831b5
Showing
- lib/src/barback.dart 54 additions, 48 deletionslib/src/barback.dart
- lib/src/barback/load_all_transformers.dart 20 additions, 9 deletionslib/src/barback/load_all_transformers.dart
- lib/src/barback/load_transformers.dart 33 additions, 29 deletionslib/src/barback/load_transformers.dart
- lib/src/pubspec.dart 16 additions, 15 deletionslib/src/pubspec.dart
- test/transformer/prefers_transformer_to_library_name_test.dart 54 additions, 0 deletions...transformer/prefers_transformer_to_library_name_test.dart
Loading
Please register or sign in to comment