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

Unified Diff: pkg/barback/pubspec.yaml

Issue 63363002: SDK constraint and README for barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 years, 1 month 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
« no previous file with comments | « pkg/barback/README.md ('k') | tools/publish_barback.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/pubspec.yaml
diff --git a/pkg/barback/pubspec.yaml b/pkg/barback/pubspec.yaml
index 3c51019103671fe092be816baa0503315aa456fd..93604edff2bb2578b7674493b33c8b0541b6ec49 100644
--- a/pkg/barback/pubspec.yaml
+++ b/pkg/barback/pubspec.yaml
@@ -19,5 +19,14 @@ dependencies:
dev_dependencies:
scheduled_test: ">=0.9.0 <0.10.0"
unittest: ">=0.9.0 <0.10.0"
+
environment:
- sdk: ">=0.8.10+6 <2.0.0"
+ # Barback is tightly coupled to the SDK because pub contains code that is run
+ # against the user's version of barback. We need to ensure that that version
+ # of barback is compatible with the user's version of pub.
+ #
+ # Since the SDK itself can't place constraints on barback, we do a reverse
+ # constraint and have barback itself only allow specific SDK versions.
+ # This ensures that for each SDK version, there is a single known good version
+ # of barback that will be used with it.
+ sdk: "$SDK_CONSTRAINT$"
« no previous file with comments | « pkg/barback/README.md ('k') | tools/publish_barback.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698