OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 import 'package:front_end/src/fasta/outline.dart' as outline; | 5 import '../outline.dart' as outline; |
6 | 6 |
7 const int iterations = const int.fromEnvironment("iterations", defaultValue: 1); | 7 const int iterations = const int.fromEnvironment("iterations", defaultValue: 1); |
8 | 8 |
9 main(List<String> arguments) async { | 9 main(List<String> arguments) async { |
10 for (int i = 0; i < iterations; i++) { | 10 for (int i = 0; i < iterations; i++) { |
11 if (i > 0) { | 11 if (i > 0) { |
12 print("\n"); | 12 print("\n"); |
13 } | 13 } |
14 await outline.compile(arguments); | 14 await outline.compile(arguments); |
15 } | 15 } |
16 } | 16 } |
OLD | NEW |