File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1111jobs :
1212 publish :
1313 if : ${{ github.repository_owner == 'devoncarew' }}
14+ permissions :
15+ pull-requests : write
1416 uses : dart-lang/ecosystem/.github/workflows/publish.yaml@main
Original file line number Diff line number Diff line change 1- # analysis_server_lib
2-
3- A library to access Dart's analysis server API.
4-
51[ ![ Buid status] ( https://github.com/devoncarew/analysis_server_lib/actions/workflows/build.yaml/badge.svg )] ( https://github.com/devoncarew/analysis_server_lib/actions/workflows/build.yaml )
62[ ![ pub package] ( https://img.shields.io/pub/v/analysis_server_lib.svg )] ( https://pub.dev/packages/analysis_server_lib )
73
4+ A library to access Dart's analysis server API.
5+
86## What is the analysis server?
97
108The analysis server is a long-running process that provides analysis results to other tools.
@@ -22,7 +20,7 @@ Here's a simple example of starting and communicating with the server:
2220``` dart
2321import 'package:analysis_server_lib/analysis_server_lib.dart';
2422
25- main() async {
23+ void main() async {
2624 AnalysisServer server = await AnalysisServer.create();
2725 await server.server.onConnected.first;
2826
You can’t perform that action at this time.
0 commit comments