Chromium Code Reviews

Unified Diff: sdk/lib/_internal/pub/lib/src/validator.dart

Issue 74013007: Hook up dependency overrides to the rest of pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: sdk/lib/_internal/pub/lib/src/validator.dart
diff --git a/sdk/lib/_internal/pub/lib/src/validator.dart b/sdk/lib/_internal/pub/lib/src/validator.dart
index 98ef43e6669ecae76de61c310aaba73d78be1f45..640c54ff2d699a5e0b2acfde626ec7e97c1b73e2 100644
--- a/sdk/lib/_internal/pub/lib/src/validator.dart
+++ b/sdk/lib/_internal/pub/lib/src/validator.dart
@@ -11,6 +11,7 @@ import 'log.dart' as log;
import 'utils.dart';
import 'validator/compiled_dartdoc.dart';
import 'validator/dependency.dart';
+import 'validator/dependency_override.dart';
import 'validator/directory.dart';
import 'validator/lib.dart';
import 'validator/license.dart';
@@ -55,6 +56,7 @@ abstract class Validator {
new NameValidator(entrypoint),
new PubspecFieldValidator(entrypoint),
new DependencyValidator(entrypoint),
+ new DependencyOverrideValidator(entrypoint),
new DirectoryValidator(entrypoint),
new CompiledDartdocValidator(entrypoint),
new Utf8ReadmeValidator(entrypoint)

Powered by Google App Engine