cbfc0784de
Change-Id: I880e53634c570cc25f4ff22dd01397b088b9bd07 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/447441 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
20 lines
726 B
Dart
20 lines
726 B
Dart
// Copyright (c) 2025, 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.
|
|
|
|
/// Generates the file `api.txt`, which describes this package's public API.
|
|
library;
|
|
|
|
import 'package:analyzer_testing/package_root.dart' as pkg_root;
|
|
import 'package:analyzer_utilities/tool/api.dart';
|
|
import 'package:analyzer_utilities/tools.dart';
|
|
|
|
Future<void> main() async {
|
|
await GeneratedContent.generateAll(pkg_root.packageRoot, allTargets);
|
|
}
|
|
|
|
/// A list of all targets generated by this code generator.
|
|
final List<GeneratedContent> allTargets = allTargetsForPackage(
|
|
'analysis_server_plugin',
|
|
);
|