diff --git a/dart.md b/dart.md index f407762a8b7a508ba1b9d3bfc22ec3c6ab51708f..912b11f51ac97b0c829bc23a0c1a9ea7c3d57824 100644 --- a/dart.md +++ b/dart.md @@ -70,8 +70,10 @@ dependencies: ## Analysis +Analysis is run as part of the Fuchsia build. + For each `dart_package` and `flutter_app` target, an analysis script gets -generated in the output directory under: +also generated in the output directory under: ```sh out/<build-type>/gen/path/to/package/package.analyzer.sh ``` @@ -107,9 +109,6 @@ scripts/run-dart-action.py analyze --out out/<build-type> --fatal-warnings --lin ``` This holds true for the individual analysis scripts. -Lastly, it is possible to automatically run analysis as part of the build by -passing the `--with-dart-analysis` flag to the `gen.py` script. - ## Testing