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 validator; | 5 library validator; |
6 | 6 |
| 7 import 'dart:async'; |
| 8 |
7 import 'entrypoint.dart'; | 9 import 'entrypoint.dart'; |
8 import 'log.dart' as log; | 10 import 'log.dart' as log; |
9 import 'io.dart'; | 11 import 'io.dart'; |
10 import 'system_cache.dart'; | 12 import 'system_cache.dart'; |
11 import 'utils.dart'; | 13 import 'utils.dart'; |
12 import 'validator/dependency.dart'; | 14 import 'validator/dependency.dart'; |
13 import 'validator/directory.dart'; | 15 import 'validator/directory.dart'; |
14 import 'validator/lib.dart'; | 16 import 'validator/lib.dart'; |
15 import 'validator/license.dart'; | 17 import 'validator/license.dart'; |
16 import 'validator/name.dart'; | 18 import 'validator/name.dart'; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 for (var warning in warnings) { | 78 for (var warning in warnings) { |
77 log.warning("* ${Strings.join(warning.split('\n'), '\n ')}"); | 79 log.warning("* ${Strings.join(warning.split('\n'), '\n ')}"); |
78 } | 80 } |
79 log.warning(""); | 81 log.warning(""); |
80 } | 82 } |
81 | 83 |
82 return new Pair<List<String>, List<String>>(errors, warnings); | 84 return new Pair<List<String>, List<String>>(errors, warnings); |
83 }); | 85 }); |
84 } | 86 } |
85 } | 87 } |
OLD | NEW |