| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 check.all; | 5 library check.all; |
| 6 | 6 |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 | 8 |
| 9 import 'package:front_end/src/codegen/tools.dart'; | 9 import 'package:front_end/src/codegen/tools.dart'; |
| 10 import 'package:path/path.dart'; | 10 import 'package:path/path.dart'; |
| 11 | 11 |
| 12 import 'generate_all.dart'; | 12 import 'generate_all.dart'; |
| 13 | 13 |
| 14 /** | 14 /** |
| 15 * Check that all targets have been code generated. If they haven't tell the | 15 * Check that all targets have been code generated. If they haven't tell the |
| 16 * user to run generate_all.dart. | 16 * user to run generate_all.dart. |
| 17 */ | 17 */ |
| 18 main() { | 18 main() { |
| 19 String script = Platform.script.toFilePath(windows: Platform.isWindows); | 19 String script = Platform.script.toFilePath(windows: Platform.isWindows); |
| 20 String pkgPath = normalize(join(dirname(script), '..', '..')); | 20 String pkgPath = normalize(join(dirname(script), '..', '..')); |
| 21 GeneratedContent.checkAll(pkgPath, 'tool/spec/generate_all.dart', allTargets); | 21 GeneratedContent.checkAll(pkgPath, 'tool/spec/generate_all.dart', allTargets); |
| 22 } | 22 } |
| OLD | NEW |