OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.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_tests; | |
6 | |
7 import 'package:barback/barback.dart'; | 5 import 'package:barback/barback.dart'; |
8 import 'package:path/path.dart' as p; | 6 import 'package:path/path.dart' as p; |
9 import 'package:pub/src/barback/cycle_exception.dart'; | 7 import 'package:pub/src/barback/cycle_exception.dart'; |
10 import 'package:pub/src/barback/dependency_computer.dart'; | 8 import 'package:pub/src/barback/dependency_computer.dart'; |
11 import 'package:pub/src/entrypoint.dart'; | 9 import 'package:pub/src/entrypoint.dart'; |
12 import 'package:pub/src/io.dart'; | 10 import 'package:pub/src/io.dart'; |
13 import 'package:pub/src/package.dart'; | 11 import 'package:pub/src/package.dart'; |
14 import 'package:pub/src/package_graph.dart'; | 12 import 'package:pub/src/package_graph.dart'; |
15 import 'package:pub/src/source/path.dart'; | 13 import 'package:pub/src/source/path.dart'; |
16 import 'package:pub/src/system_cache.dart'; | 14 import 'package:pub/src/system_cache.dart'; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 118 |
121 buffer.writeln(""" | 119 buffer.writeln(""" |
122 NoOpTransformer extends Transformer { | 120 NoOpTransformer extends Transformer { |
123 bool isPrimary(AssetId id) => true; | 121 bool isPrimary(AssetId id) => true; |
124 void apply(Transform transform) {} | 122 void apply(Transform transform) {} |
125 } | 123 } |
126 """); | 124 """); |
127 | 125 |
128 return buffer.toString(); | 126 return buffer.toString(); |
129 } | 127 } |
OLD | NEW |