Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: sdk/lib/_internal/pub/test/pub_test.dart

Issue 365993007: Support "pub downgrade". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/test/pub_test.dart
diff --git a/sdk/lib/_internal/pub/test/pub_test.dart b/sdk/lib/_internal/pub/test/pub_test.dart
index ae6ad21e97ee46d3de765d7b4c8624475232f99c..525cd0fd0ecea58aac8262176e5805bbb286e642 100644
--- a/sdk/lib/_internal/pub/test/pub_test.dart
+++ b/sdk/lib/_internal/pub/test/pub_test.dart
@@ -28,18 +28,19 @@ final USAGE_STRING = """
-v, --verbose Shortcut for "--verbosity=all".
Available commands:
- build Apply transformers to build a package.
- cache Work with the system cache.
- deps Print package dependencies.
- get Get the current package's dependencies.
- global Work with global packages.
- help Display help information for Pub.
- publish Publish the current package to pub.dartlang.org.
- run Run an executable from a package.
- serve Run a local web development server.
- upgrade Upgrade the current package's dependencies to latest versions.
- uploader Manage uploaders for a package on pub.dartlang.org.
- version Print pub version.
+ build Apply transformers to build a package.
+ cache Work with the system cache.
+ deps Print package dependencies.
+ downgrade Downgrade the current package's dependencies to oldest versions.
+ get Get the current package's dependencies.
+ global Work with global packages.
+ help Display help information for Pub.
+ publish Publish the current package to pub.dartlang.org.
+ run Run an executable from a package.
+ serve Run a local web development server.
+ upgrade Upgrade the current package's dependencies to latest versions.
+ uploader Manage uploaders for a package on pub.dartlang.org.
+ version Print pub version.
Run "pub help [command]" for more information about a command.
See http://dartlang.org/tools/pub for detailed documentation.
@@ -127,18 +128,19 @@ main() {
Could not find a command named "quylthulg".
Available commands:
- build Apply transformers to build a package.
- cache Work with the system cache.
- deps Print package dependencies.
- get Get the current package's dependencies.
- global Work with global packages.
- help Display help information for Pub.
- publish Publish the current package to pub.dartlang.org.
- run Run an executable from a package.
- serve Run a local web development server.
- upgrade Upgrade the current package's dependencies to latest versions.
- uploader Manage uploaders for a package on pub.dartlang.org.
- version Print pub version.
+ build Apply transformers to build a package.
+ cache Work with the system cache.
+ deps Print package dependencies.
+ downgrade Downgrade the current package's dependencies to oldest versions.
+ get Get the current package's dependencies.
+ global Work with global packages.
+ help Display help information for Pub.
+ publish Publish the current package to pub.dartlang.org.
+ run Run an executable from a package.
+ serve Run a local web development server.
+ upgrade Upgrade the current package's dependencies to latest versions.
+ uploader Manage uploaders for a package on pub.dartlang.org.
+ version Print pub version.
''',
exitCode: exit_codes.USAGE);
});
@@ -297,18 +299,19 @@ main() {
Could not find a command named "quylthulg".
Available commands:
- build Apply transformers to build a package.
- cache Work with the system cache.
- deps Print package dependencies.
- get Get the current package's dependencies.
- global Work with global packages.
- help Display help information for Pub.
- publish Publish the current package to pub.dartlang.org.
- run Run an executable from a package.
- serve Run a local web development server.
- upgrade Upgrade the current package's dependencies to latest versions.
- uploader Manage uploaders for a package on pub.dartlang.org.
- version Print pub version.
+ build Apply transformers to build a package.
+ cache Work with the system cache.
+ deps Print package dependencies.
+ downgrade Downgrade the current package's dependencies to oldest versions.
+ get Get the current package's dependencies.
+ global Work with global packages.
+ help Display help information for Pub.
+ publish Publish the current package to pub.dartlang.org.
+ run Run an executable from a package.
+ serve Run a local web development server.
+ upgrade Upgrade the current package's dependencies to latest versions.
+ uploader Manage uploaders for a package on pub.dartlang.org.
+ version Print pub version.
''',
exitCode: exit_codes.USAGE);
});
« no previous file with comments | « sdk/lib/_internal/pub/test/downgrade/unlock_if_necessary_test.dart ('k') | sdk/lib/_internal/pub/test/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698