re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server (#16281)

re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server
This commit is contained in:
Devon Carew
2018-04-11 14:50:36 -07:00
committed by GitHub
parent 4c221231c9
commit 2f41ea546f
17 changed files with 443 additions and 980 deletions

View File

@@ -79,7 +79,7 @@ analyzer. There are two main ways to run it. In either case you will
want to run `flutter update-packages` first, or you will get bogus
error messages about core classes like Offset from `dart:ui`.
For a one-off, use `flutter analyze --flutter-repo`. This uses the `analysis_options_repo.yaml` file
For a one-off, use `flutter analyze --flutter-repo`. This uses the `analysis_options.yaml` file
at the root of the repository for its configuration.
For continuous analysis, use `flutter analyze --flutter-repo --watch`. This uses normal