ca4978e363
Reduces the API surface of pkg:analyzer that requires pkg:html Related to https://github.com/dart-lang/sdk/issues/35802 Change-Id: Icd08d76190d6ab77cd180561cdde6df254b22557 Reviewed-on: https://dart-review.googlesource.com/c/91701 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Kevin Moore <kevmoo@google.com>
20 lines
721 B
Dart
20 lines
721 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:analysis_tool/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]);
|
|
}
|