| Index: pkg/intl/test/message_extraction/make_hardcoded_translation.dart
|
| diff --git a/pkg/intl/test/message_extraction/make_hardcoded_translation.dart b/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
|
| index 3f7977c24fdb2d668409c1dc4dcf360ed312a8d9..f936f11e7056860d943b116eb1fd858f741fecf4 100644
|
| --- a/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
|
| +++ b/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
|
| @@ -13,7 +13,7 @@
|
| import 'dart:io';
|
| import 'dart:json' as json;
|
| import 'package:pathos/path.dart' as path;
|
| -import 'find_output_directory.dart';
|
| +import 'package:args/args.dart';
|
|
|
| /** A list of the French translations that we will produce. */
|
| var french = {
|
| @@ -95,8 +95,11 @@ main() {
|
| '[originalFile.dart]');
|
| exit(0);
|
| }
|
| + var parser = new ArgParser();
|
| + parser.addOption("output-dir", defaultsTo: '.',
|
| + callback: (value) => targetDir = value);
|
| + parser.parse(args);
|
|
|
| - targetDir = findOutputDirectory(args);
|
| var fileArgs = args.where((x) => x.contains('.json'));
|
|
|
| var messages = json.parse(new File(fileArgs.first).readAsStringSync());
|
|
|