Index: pkg/fasta/bin/compile_platform.dart |
diff --git a/pkg/fasta/bin/compile_platform.dart b/pkg/fasta/bin/compile_platform.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cfe043761635225dec31ac44350733127fdf42c1 |
--- /dev/null |
+++ b/pkg/fasta/bin/compile_platform.dart |
@@ -0,0 +1,16 @@ |
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+import 'package:fasta/src/compile_platform.dart' as compile_platform; |
+ |
+const int iterations = const int.fromEnvironment("iterations", defaultValue: 1); |
+ |
+main(List<String> arguments) async { |
+ for (int i = 0; i < iterations; i++) { |
+ if (i > 0) { |
+ print("\n"); |
+ } |
+ await compile_platform.main(arguments); |
+ } |
+} |