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 library pub_tests; | 5 library pub_tests; |
6 | 6 |
7 import 'package:scheduled_test/scheduled_test.dart'; | 7 import 'package:scheduled_test/scheduled_test.dart'; |
8 | 8 |
9 import 'descriptor.dart' as d; | 9 import 'descriptor.dart' as d; |
10 import 'test_pub.dart'; | 10 import 'test_pub.dart'; |
(...skipping 10 matching lines...) Expand all Loading... |
21 --verbosity Control output verbosity. | 21 --verbosity Control output verbosity. |
22 | 22 |
23 [all] Show all output including internal tracing messages. | 23 [all] Show all output including internal tracing messages. |
24 [io] Also show IO operations. | 24 [io] Also show IO operations. |
25 [normal] Show errors, warnings, and user messages. | 25 [normal] Show errors, warnings, and user messages. |
26 [solver] Show steps during version resolution. | 26 [solver] Show steps during version resolution. |
27 | 27 |
28 -v, --verbose Shortcut for "--verbosity=all". | 28 -v, --verbose Shortcut for "--verbosity=all". |
29 | 29 |
30 Available commands: | 30 Available commands: |
31 cache Inspect the system cache. | |
32 deploy Copy and compile all Dart entrypoints in the 'web' directory. | 31 deploy Copy and compile all Dart entrypoints in the 'web' directory. |
33 help Display help information for Pub. | 32 help Display help information for Pub. |
34 install Install the current package's dependencies. | 33 install Install the current package's dependencies. |
35 publish Publish the current package to pub.dartlang.org. | 34 publish Publish the current package to pub.dartlang.org. |
36 serve Run a local web development server. | 35 serve Run a local web development server. |
37 update Update the current package's dependencies to the latest version
s. | 36 update Update the current package's dependencies to the latest version
s. |
38 uploader Manage uploaders for a package on pub.dartlang.org. | 37 uploader Manage uploaders for a package on pub.dartlang.org. |
39 version Print pub version. | 38 version Print pub version. |
40 | 39 |
41 Use "pub help [command]" for more information about a command. | 40 Use "pub help [command]" for more information about a command. |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 // The "version" file generated on developer builds is a little funky and | 168 // The "version" file generated on developer builds is a little funky and |
170 // we need to make sure we don't choke on it. | 169 // we need to make sure we don't choke on it. |
171 d.dir(sdkPath, [ | 170 d.dir(sdkPath, [ |
172 d.file('version', '0.1.2.0_r16279_bobross'), | 171 d.file('version', '0.1.2.0_r16279_bobross'), |
173 ]).create(); | 172 ]).create(); |
174 | 173 |
175 schedulePub(args: ['version'], output: "Pub 0.1.2+0.r16279.bobross\n"); | 174 schedulePub(args: ['version'], output: "Pub 0.1.2+0.r16279.bobross\n"); |
176 }); | 175 }); |
177 }); | 176 }); |
178 } | 177 } |
OLD | NEW |