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:
Adam Barth
2016-02-25 15:29:58 -08:00
parent 0c05666ee1
commit 357fbf8a42
5 changed files with 60 additions and 49 deletions

View File

@@ -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 {