• Dan Rubel's avatar
    Refactor flutter command execution (#5892) · 18212382
    Dan Rubel authored
    * refactor _run to runCmd
    
    * replace requiresProjectRoot getter with call to commandValidator
    
    * replace requiresDevice getter with call to findTargetDevice
    
    * trace command requires a debug connection, not a device
    
    * inline androidOnly getter
    
    * rename command methods to verifyTheRunCmd and runCmd
    
    * move common verification into BuildSubCommand
    
    * rename deviceForCommand to device
    
    * rename methods to verifyThenRunCommand and runCommand
    18212382
Name
Last commit
Last update
..
android Loading commit data...
base Loading commit data...
commands Loading commit data...
dart Loading commit data...
ios Loading commit data...
runner Loading commit data...
test Loading commit data...
application_package.dart Loading commit data...
asset.dart Loading commit data...
build_info.dart Loading commit data...
cache.dart Loading commit data...
devfs.dart Loading commit data...
device.dart Loading commit data...
doctor.dart Loading commit data...
flx.dart Loading commit data...
globals.dart Loading commit data...
hot.dart Loading commit data...
protocol_discovery.dart Loading commit data...
resident_runner.dart Loading commit data...
run.dart Loading commit data...
services.dart Loading commit data...
template.dart Loading commit data...
toolchain.dart Loading commit data...
usage.dart Loading commit data...
version.dart Loading commit data...
vmservice.dart Loading commit data...
zip.dart Loading commit data...