| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 library pub.load_all_transformers; | |
| 6 | |
| 7 import 'dart:async'; | 5 import 'dart:async'; |
| 8 | 6 |
| 9 import 'package:barback/barback.dart'; | 7 import 'package:barback/barback.dart'; |
| 10 | 8 |
| 11 import '../log.dart' as log; | 9 import '../log.dart' as log; |
| 12 import '../package_graph.dart'; | 10 import '../package_graph.dart'; |
| 13 import '../utils.dart'; | 11 import '../utils.dart'; |
| 14 import 'asset_environment.dart'; | 12 import 'asset_environment.dart'; |
| 15 import 'barback_server.dart'; | 13 import 'barback_server.dart'; |
| 16 import 'dependency_computer.dart'; | 14 import 'dependency_computer.dart'; |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 var results = {}; | 158 var results = {}; |
| 161 for (var package in graph.packages.values) { | 159 for (var package in graph.packages.values) { |
| 162 for (var phase in package.pubspec.transformers) { | 160 for (var phase in package.pubspec.transformers) { |
| 163 for (var config in phase) { | 161 for (var config in phase) { |
| 164 results.putIfAbsent(config.id, () => new Set()).add(package.name); | 162 results.putIfAbsent(config.id, () => new Set()).add(package.name); |
| 165 } | 163 } |
| 166 } | 164 } |
| 167 } | 165 } |
| 168 return results; | 166 return results; |
| 169 } | 167 } |
| OLD | NEW |