| 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 library pub.command.barback; | |
| 6 | |
| 7 import 'dart:async'; | 5 import 'dart:async'; |
| 8 | 6 |
| 9 import 'package:barback/barback.dart'; | 7 import 'package:barback/barback.dart'; |
| 10 import 'package:path/path.dart' as path; | 8 import 'package:path/path.dart' as path; |
| 11 | 9 |
| 12 import '../command.dart'; | 10 import '../command.dart'; |
| 13 import '../io.dart'; | 11 import '../io.dart'; |
| 14 import '../log.dart' as log; | 12 import '../log.dart' as log; |
| 15 import '../utils.dart'; | 13 import '../utils.dart'; |
| 16 | 14 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 var verb = pluralize(singularVerb, directoryNames.length, | 187 var verb = pluralize(singularVerb, directoryNames.length, |
| 190 plural: pluralVerb); | 188 plural: pluralVerb); |
| 191 | 189 |
| 192 var result = "$directories $names $verb"; | 190 var result = "$directories $names $verb"; |
| 193 if (suffix != null) result += " $suffix"; | 191 if (suffix != null) result += " $suffix"; |
| 194 result += "."; | 192 result += "."; |
| 195 | 193 |
| 196 return result; | 194 return result; |
| 197 } | 195 } |
| 198 } | 196 } |
| OLD | NEW |