Jonah Williams 9837bb062c
generate package config during runhooks (#19428)
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
2020-06-30 17:48:36 -07:00

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);
}
}