blob: 2ccd863e312f319df00ce91a8813d5c1933332ee [file] [log] [blame] [edit]
import 'dart:io';
import 'package:test_integration/test_integration.dart';
Future<void> main() async {
final clientId = openClientId();
final proc = await Process.start(Platform.resolvedExecutable, [
'run',
'build_runner',
'serve',
'web',
'--define=build_web_compilers:ddc=environment='
'{"clientId":"${clientId.identifier}"}',
// TODO: file a bug on build_web_compilers. not sure why this doesn't
// work!!
//'--define=build_web_compilers:dart2wasm=environment='
// '{"clientId":"${clientId.identifier}"}',
'--verbose',
], mode: ProcessStartMode.inheritStdio);
exitCode = await proc.exitCode;
}