dart-sdk/pkg/frontend_server/bin/frontend_server_starter.dart
Johnni Winther 3640b60c8c [frontend_server] Migrate frontend_server_starter
Change-Id: Ic68ba05b920c18cc6d13c5141b71f6c4cb6eca84
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/259580
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2022-09-16 08:06:49 +00:00

18 lines
459 B
Dart

// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library frontend_server;
import 'dart:async';
import 'dart:io';
import 'package:frontend_server/starter.dart';
Future<Null> main(List<String> args) async {
exitCode = await starter(args);
if (exitCode != 0) {
exit(exitCode);
}
}