OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 /// Common logic to make it easy to run the polymer linter and deploy tool. | 5 /// Common logic to make it easy to run the polymer linter and deploy tool. |
6 /// | 6 /// |
7 /// The functions in this library are designed to make it easier to create | 7 /// The functions in this library are designed to make it easier to create |
8 /// `build.dart` files. A `build.dart` file is a Dart script that can be invoked | 8 /// `build.dart` files. A `build.dart` file is a Dart script that can be invoked |
9 /// from the command line, but that can also invoked automatically by the Dart | 9 /// from the command line, but that can also invoked automatically by the Dart |
10 /// Editor whenever a file in your project changes or when selecting some menu | 10 /// Editor whenever a file in your project changes or when selecting some menu |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 var polymer = t['polymer']; | 349 var polymer = t['polymer']; |
350 if (polymer == null || polymer is! Map) return; | 350 if (polymer == null || polymer is! Map) return; |
351 | 351 |
352 var parsedEntryPoints = readFileList(polymer['entry_points']); | 352 var parsedEntryPoints = readFileList(polymer['entry_points']); |
353 if (parsedEntryPoints == null) return; | 353 if (parsedEntryPoints == null) return; |
354 | 354 |
355 entryPoints.addAll(parsedEntryPoints); | 355 entryPoints.addAll(parsedEntryPoints); |
356 }); | 356 }); |
357 return entryPoints.isEmpty ? null : entryPoints; | 357 return entryPoints.isEmpty ? null : entryPoints; |
358 } | 358 } |
OLD | NEW |