Validate packages against their SDK constraints.
After running pub install or update, it will look at all of the selected packages and see if their SDK constraints match the current SDK. If not, it will show a (hopefully) helpful error message. BUG=dartbug.com/6285 Review URL: https://codereview.chromium.org//12092080 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18014 260f80e4-7a28-3924-810f-c04153c831b5
Showing
- lib/src/command_install.dart 4 additions, 4 deletionslib/src/command_install.dart
- lib/src/command_update.dart 4 additions, 2 deletionslib/src/command_update.dart
- lib/src/entrypoint.dart 58 additions, 0 deletionslib/src/entrypoint.dart
- lib/src/git_source.dart 2 additions, 0 deletionslib/src/git_source.dart
- lib/src/hosted_source.dart 4 additions, 2 deletionslib/src/hosted_source.dart
- lib/src/io.dart 24 additions, 0 deletionslib/src/io.dart
- lib/src/package.dart 5 additions, 1 deletionlib/src/package.dart
- lib/src/pubspec.dart 3 additions, 1 deletionlib/src/pubspec.dart
- lib/src/source.dart 12 additions, 12 deletionslib/src/source.dart
- lib/src/system_cache.dart 21 additions, 0 deletionslib/src/system_cache.dart
- lib/src/utils.dart 41 additions, 0 deletionslib/src/utils.dart
- test/install/git/check_out_transitive_test.dart 1 addition, 1 deletiontest/install/git/check_out_transitive_test.dart
- test/install/pub_install_test.dart 0 additions, 1 deletiontest/install/pub_install_test.dart
- test/install/sdk/check_out_test.dart 0 additions, 1 deletiontest/install/sdk/check_out_test.dart
- test/install/sdk/check_out_transitive_test.dart 1 addition, 2 deletionstest/install/sdk/check_out_transitive_test.dart
- test/pub_test.dart 0 additions, 8 deletionstest/pub_test.dart
- test/sdk_constraint_test.dart 121 additions, 0 deletionstest/sdk_constraint_test.dart
- test/test_pub.dart 18 additions, 3 deletionstest/test_pub.dart
- test/update/git/do_not_update_if_unneeded_test.dart 2 additions, 2 deletionstest/update/git/do_not_update_if_unneeded_test.dart
- test/update/pub_update_test.dart 0 additions, 1 deletiontest/update/pub_update_test.dart
Loading
Please register or sign in to comment