Add publishTo to pubspec and use it in pub lish.
RELNOTE=Pubspecs can have a "publishTo" field which is either a URL to specify the default server that publishing should use or "none" to specify that the package is private and cannot be published. BUG=https://code.google.com/p/dart/issues/detail?id=20046 R=nweiz@google.com Review URL: https://codereview.chromium.org//417043005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38880 260f80e4-7a28-3924-810f-c04153c831b5
Showing
- lib/src/command/lish.dart 20 additions, 1 deletionlib/src/command/lish.dart
- lib/src/pubspec.dart 36 additions, 0 deletionslib/src/pubspec.dart
- test/lish/does_not_publish_if_private_test.dart 22 additions, 0 deletionstest/lish/does_not_publish_if_private_test.dart
- test/lish/does_not_publish_if_private_with_server_arg_test.dart 23 additions, 0 deletions...ish/does_not_publish_if_private_with_server_arg_test.dart
- test/lish/force_does_not_publish_if_private_test.dart 22 additions, 0 deletionstest/lish/force_does_not_publish_if_private_test.dart
- test/lish/preview_errors_if_private_test.dart 22 additions, 0 deletionstest/lish/preview_errors_if_private_test.dart
- test/lish/server_arg_does_not_override_private_test.dart 22 additions, 0 deletionstest/lish/server_arg_does_not_override_private_test.dart
- test/lish/server_arg_overrides_publish_to_url_test.dart 20 additions, 0 deletionstest/lish/server_arg_overrides_publish_to_url_test.dart
- test/lish/uses_publish_to_url_test.dart 20 additions, 0 deletionstest/lish/uses_publish_to_url_test.dart
- test/pubspec_test.dart 31 additions, 0 deletionstest/pubspec_test.dart
Loading
Please register or sign in to comment