| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * The main entrypoint for the pub command line application. | 6 * The main entrypoint for the pub command line application. |
| 7 */ | 7 */ |
| 8 #library('pub'); | 8 #library('pub'); |
| 9 | 9 |
| 10 #import('../yaml/yaml.dart'); | 10 #import('yaml/yaml.dart'); |
| 11 | 11 |
| 12 #import('io.dart'); | 12 #import('io.dart'); |
| 13 #import('utils.dart'); | 13 #import('utils.dart'); |
| 14 | 14 |
| 15 #source('cache.dart'); | 15 #source('cache.dart'); |
| 16 #source('command_list.dart'); | 16 #source('command_list.dart'); |
| 17 #source('command_update.dart'); | 17 #source('command_update.dart'); |
| 18 #source('command_version.dart'); | 18 #source('command_version.dart'); |
| 19 #source('package.dart'); | 19 #source('package.dart'); |
| 20 | 20 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 cache = cache_; | 131 cache = cache_; |
| 132 | 132 |
| 133 // TODO(rnystrom): Each command should define the arguments it expects and | 133 // TODO(rnystrom): Each command should define the arguments it expects and |
| 134 // we can handle them generically here. | 134 // we can handle them generically here. |
| 135 | 135 |
| 136 onRun(); | 136 onRun(); |
| 137 } | 137 } |
| 138 | 138 |
| 139 abstract void onRun(); | 139 abstract void onRun(); |
| 140 } | 140 } |
| OLD | NEW |