OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 /// Definitions used to run the polymer linter and deploy tools without using | 5 /// Definitions used to run the polymer linter and deploy tools without using |
6 /// pub serve or pub deploy. | 6 /// pub serve or pub deploy. |
7 library polymer.src.build.runner; | 7 library polymer.src.build.runner; |
8 | 8 |
9 import 'dart:async'; | 9 import 'dart:async'; |
10 import 'dart:convert'; | 10 import 'dart:convert'; |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 } else { | 377 } else { |
378 output.write(entry.span.message(entry.message, | 378 output.write(entry.span.message(entry.message, |
379 color: useColors ? levelColor : null)); | 379 color: useColors ? levelColor : null)); |
380 } | 380 } |
381 return output.toString(); | 381 return output.toString(); |
382 } | 382 } |
383 | 383 |
384 const String _RED_COLOR = '\u001b[31m'; | 384 const String _RED_COLOR = '\u001b[31m'; |
385 const String _MAGENTA_COLOR = '\u001b[35m'; | 385 const String _MAGENTA_COLOR = '\u001b[35m'; |
386 const String _NO_COLOR = '\u001b[0m'; | 386 const String _NO_COLOR = '\u001b[0m'; |
OLD | NEW |