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

Unified Diff: utils/pub/validator.dart

Issue 11635060: Add a validator for dependency version constraints. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 8 years 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 | « utils/pub/http.dart ('k') | utils/pub/validator/dependency.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/validator.dart
diff --git a/utils/pub/validator.dart b/utils/pub/validator.dart
index 5c0c8507ce5e430629c677341f4737d2aedb681b..48f7768dd09c5e77fef39a325f08a98ef3b6b544 100644
--- a/utils/pub/validator.dart
+++ b/utils/pub/validator.dart
@@ -9,6 +9,7 @@ import 'log.dart' as log;
import 'io.dart';
import 'system_cache.dart';
import 'utils.dart';
+import 'validator/dependency.dart';
import 'validator/lib.dart';
import 'validator/license.dart';
import 'validator/name.dart';
@@ -44,7 +45,8 @@ abstract class Validator {
new LibValidator(entrypoint),
new LicenseValidator(entrypoint),
new NameValidator(entrypoint),
- new PubspecFieldValidator(entrypoint)
+ new PubspecFieldValidator(entrypoint),
+ new DependencyValidator(entrypoint)
];
// TODO(nweiz): The sleep 0 here forces us to go async. This works around
« no previous file with comments | « utils/pub/http.dart ('k') | utils/pub/validator/dependency.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698