Remove --disable-dart-dev across flutter/flutter. (#154280)

As per the Dart CLI team and @bkonyi, this is no longer providing value and we shouldn't cargo-cult it.

Work towards https://github.com/flutter/flutter/issues/154268.
This commit is contained in:
Matan Lurey
2024-08-29 15:50:04 -07:00
committed by GitHub
parent eed0b71c20
commit 712cf654d1
18 changed files with 6 additions and 41 deletions

View File

@@ -132,7 +132,7 @@ function generate_docs() {
# Make sure that create_api_docs.dart has all the dependencies it needs.
(cd "$FLUTTER_ROOT/dev/tools" && "$FLUTTER" pub get)
(cd "$FLUTTER_ROOT" && "$DART" --disable-dart-dev --enable-asserts "$FLUTTER_ROOT/dev/tools/create_api_docs.dart" --output-dir="$DOC_DIR")
(cd "$FLUTTER_ROOT" && "$DART" --enable-asserts "$FLUTTER_ROOT/dev/tools/create_api_docs.dart" --output-dir="$DOC_DIR")
}
function main() {