forked from firka/flutter
Move update_packages.dart to flutter update-packages
Now that we don't require the Dart SDK to be in your path, it's hard to run ./dev/update_packages.dart. Instead, you can now run `flutter update-packages`. Fixes #1906
This commit is contained in:
@@ -28,6 +28,7 @@ import 'src/commands/run_mojo.dart';
|
||||
import 'src/commands/stop.dart';
|
||||
import 'src/commands/test.dart';
|
||||
import 'src/commands/trace.dart';
|
||||
import 'src/commands/update_packages.dart';
|
||||
import 'src/commands/upgrade.dart';
|
||||
import 'src/device.dart';
|
||||
import 'src/doctor.dart';
|
||||
@@ -60,6 +61,7 @@ Future main(List<String> args) async {
|
||||
..addCommand(new StopCommand())
|
||||
..addCommand(new TestCommand())
|
||||
..addCommand(new TraceCommand())
|
||||
..addCommand(new UpdatePackagesCommand(hideCommand: !verboseHelp))
|
||||
..addCommand(new UpgradeCommand());
|
||||
|
||||
return Chain.capture(() async {
|
||||
|
||||
Reference in New Issue
Block a user