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 compiled_dartdoc_validator; | 5 library compiled_dartdoc_validator; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:pathos/path.dart' as path; | 9 import 'package:pathos/path.dart' as path; |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 if (files.every((val) => fileExists(val))) { | 37 if (files.every((val) => fileExists(val))) { |
38 warnings.add("Avoid putting generated documentation in " | 38 warnings.add("Avoid putting generated documentation in " |
39 "${path.relative(dir)}.\n" | 39 "${path.relative(dir)}.\n" |
40 "Generated documentation bloats the package with redundant " | 40 "Generated documentation bloats the package with redundant " |
41 "data."); | 41 "data."); |
42 } | 42 } |
43 } | 43 } |
44 }); | 44 }); |
45 } | 45 } |
46 } | 46 } |
OLD | NEW |