Files
sdk/pkg/analyzer/tool/task_dependency_graph/check_test.dart
T
Brian Wilkerson 469e1e2e64 Remove unnecessary library directives
Change-Id: I7a157080e4d7fd80d64489a13de4e996b5870930
Reviewed-on: https://dart-review.googlesource.com/c/79474
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2018-10-13 00:44:04 +00:00

20 lines
728 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.
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/task_dependency_graph/generate.dart', <GeneratedContent>[target]);
}