Add a bin/flutter-dev script, for running the flutter command-line tool from source (#153599)

Not so long ago I remember a very informal conversation that went something like this:

> @matanlurey: I wish I could pass `--dev` or something to `flutter` to run from source.
>
> @christopherfujino: I get what you want, but I don't want to overload the tool with more dev-only things. I would consider a script like `flutter-dev` that does that thing, though.
>
> @matanlurey: Cool, I might send a PR!

So uh, here it is 6-9 months later. Suggestions welcome.
This commit is contained in:
Matan Lurey
2024-08-21 09:56:22 -07:00
committed by GitHub
parent b74fa8afc7
commit f0a37e70e5
4 changed files with 70 additions and 1 deletions

View File

@@ -2216,6 +2216,7 @@ Future<CommandResult> _runFlutterAnalyze(String workingDirectory, {
const Set<String> kExecutableAllowlist = <String>{
'bin/dart',
'bin/flutter',
'bin/flutter-dev',
'bin/internal/update_dart_sdk.sh',
'dev/bots/accept_android_sdk_licenses.sh',