| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 library analyzer.tool.summary.check_test; |
| 6 |
| 7 import 'dart:io'; |
| 8 |
| 9 import 'package:analyzer/src/codegen/tools.dart'; |
| 10 import 'package:path/path.dart'; |
| 11 |
| 12 import 'generate.dart'; |
| 13 |
| 14 /** |
| 15 * Check that the target file has been code generated. If it hasn't tell the |
| 16 * user to run generate.dart. |
| 17 */ |
| 18 main() { |
| 19 String script = Platform.script.toFilePath(windows: Platform.isWindows); |
| 20 String pkgPath = normalize(join(dirname(script), '..', '..')); |
| 21 GeneratedContent.checkAll(pkgPath, 'tool/summary/generate.dart', allTargets); |
| 22 } |
| OLD | NEW |