Files
sdk/pkg/analyzer/tool/summary/check_test.dart
T
Peter von der Ahé eb0ec965e3 Move codegen/tools.dart to package:analyzer
Change-Id: Iab61e0dfcdd0969d1bf35e27c13c336a944d14e6
Reviewed-on: https://dart-review.googlesource.com/c/77780
Commit-Queue: Peter von der Ahé <ahe@google.com>
Auto-Submit: Peter von der Ahé <ahe@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
2018-10-03 07:41:43 +00:00

22 lines
743 B
Dart

// Copyright (c) 2015, 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.
library analyzer.tool.summary.check_test;
import 'package:analyzer/src/codegen/tools.dart';
import 'package:front_end/src/testing/package_root.dart' as package_root;
import 'package:path/path.dart';
import 'generate.dart';
/**
* Check that the target file has been code generated. If it hasn't tell the
* user to run generate.dart.
*/
main() async {
String pkgPath = normalize(join(package_root.packageRoot, 'analyzer'));
await GeneratedContent.checkAll(
pkgPath, 'tool/summary/generate.dart', allTargets);
}