• Danny Tuppeny's avatar
    Add `--machine` support for `flutter attach` (#19077) · ed9afbbc
    Danny Tuppeny authored
    * 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
    ed9afbbc
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.coveralls.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...