Fix building Fuchsia apps. (#7071)
Started failing at 0b737ac57b071df65761f164913ece6db0a85804.
This commit is contained in:
parent
f27b0611f4
commit
f1938c60af
@ -28,8 +28,15 @@ const List<String> _kRequiredOptions = const <String>[
|
||||
_kOptionWorking,
|
||||
];
|
||||
|
||||
Future<Null> main(List<String> args) async {
|
||||
context[Logger] = new StdoutLogger();
|
||||
void main(List<String> args) async {
|
||||
AppContext executableContext = new AppContext();
|
||||
executableContext.runInZone(() {
|
||||
context[Logger] = new StdoutLogger();
|
||||
return run(args);
|
||||
});
|
||||
}
|
||||
|
||||
Future<Null> run(List<String> args) async {
|
||||
final ArgParser parser = new ArgParser()
|
||||
..addOption(_kOptionPackages, help: 'The .packages file')
|
||||
..addOption(_kOptionOutput, help: 'The generated flx file')
|
||||
|
Loading…
x
Reference in New Issue
Block a user