flutter/packages/flutter_tools
Danny Tuppeny ed9afbbc72
Add --machine support for flutter attach (#19077)
* Extract some of startApp into a reusable method

* Get basic attach --machine working

* Attach --machine tweaks

Move validation to validate method and create daemon early so we get the startup event before trying to get a connection.

* Bump daemon version so we know whether it's valid to flutter attach

* Tweak output text

* Swap package imports for relative

* Review tweaks (naming, formatting, typedefs)

* Separate arguments from process spawning

This will make calling attach easier

* Add a basic test for flutter attach --machine

* Fix crash if port unforward modifies the list of forwarded ports

* Add a no-op port forwarder for flutter-tester

* Switch to using BasicProject instead of our own inline code

* Fix expectation in test now we have a portForwarder

* Remove stale TODO (this is done)

* Tweak formatting

* Change some Completers to void to fix Dart 2 issues
2018-07-19 13:38:29 +01:00
..
bin Revert "enable lint unnecessary_const (#19342)" (#19423) 2018-07-16 13:30:27 -07:00
doc Add --machine support for flutter attach (#19077) 2018-07-19 13:38:29 +01:00
gradle Make Gradle script support Flutter-as-lib (#18633) 2018-06-20 16:07:05 +02:00
ide_templates/intellij Spelling (#15229) 2018-03-06 21:36:03 -08:00
lib Add --machine support for flutter attach (#19077) 2018-07-19 13:38:29 +01:00
schema Add module template for Android (#18697) 2018-06-22 18:19:37 +02:00
templates Fix path of ios module template files (#19037) 2018-07-09 11:56:39 +02:00
test Add --machine support for flutter attach (#19077) 2018-07-19 13:38:29 +01:00
tool Add emulator.getEmulators and emulator.launch to daemon (#17466) 2018-05-22 07:39:08 +01:00
analysis_options.yaml re-write flutter analyze to use the analysis server (#16979) 2018-05-10 09:48:40 -07:00
BUILD.gn [fuchsia] Add new package dep to BUILD.gn file (#19533) 2018-07-18 14:41:03 -07:00
pubspec.yaml Add Bash and Zsh command-line completion for flutter (#19243) 2018-07-13 21:24:36 -07:00
README.md Fix capitalization in README.md (#16788) 2018-04-20 01:02:44 -07:00

Flutter Tools

Tools for building Flutter applications.

To run the tests, ensure that no devices are connected, then navigate to flutter_tools and execute:

../../bin/cache/dart-sdk/bin/pub run test -j1