mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The dart SDK needs to ship several packages which have opted into null safety for the tech preview. This requires the use of a package_config.json for compilation as this file contains the language versions. Use a dart script to generate the package_config file from the .packages file, and include that in the DEPS hooks section. Fixes flutter/flutter#60628
14 lines
243 B
Dart
14 lines
243 B
Dart
// @dart=2.8
|
|
library frontend_server;
|
|
|
|
import 'dart:io';
|
|
|
|
import 'package:flutter_frontend_server/server.dart';
|
|
|
|
void main(List<String> args) async {
|
|
final int exitCode = await starter(args);
|
|
if (exitCode != 0) {
|
|
exit(exitCode);
|
|
}
|
|
}
|