OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library pub.validator; | |
6 | |
7 import 'dart:async'; | 5 import 'dart:async'; |
8 | 6 |
9 import 'entrypoint.dart'; | 7 import 'entrypoint.dart'; |
10 import 'log.dart' as log; | 8 import 'log.dart' as log; |
11 import 'utils.dart'; | 9 import 'utils.dart'; |
12 import 'validator/compiled_dartdoc.dart'; | 10 import 'validator/compiled_dartdoc.dart'; |
13 import 'validator/dependency.dart'; | 11 import 'validator/dependency.dart'; |
14 import 'validator/dependency_override.dart'; | 12 import 'validator/dependency_override.dart'; |
15 import 'validator/directory.dart'; | 13 import 'validator/directory.dart'; |
16 import 'validator/executable.dart'; | 14 import 'validator/executable.dart'; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 for (var warning in warnings) { | 93 for (var warning in warnings) { |
96 log.warning("* ${warning.split('\n').join('\n ')}"); | 94 log.warning("* ${warning.split('\n').join('\n ')}"); |
97 } | 95 } |
98 log.warning(""); | 96 log.warning(""); |
99 } | 97 } |
100 | 98 |
101 return new Pair<List<String>, List<String>>(errors, warnings); | 99 return new Pair<List<String>, List<String>>(errors, warnings); |
102 }); | 100 }); |
103 } | 101 } |
104 } | 102 } |
OLD | NEW |