run method
Builds each target. Command-line options are not supported yet.
Implementation
Future<void> run(List<String> args) async {
if (args.isNotEmpty) {
throw ArgumentError(
'Compiler command-line options are not supported yet.',
);
}
for (final target in targets) {
switch (target) {
case NativeTarget():
await compileNative(target);
case PackageBuild():
await buildPackage(target);
}
}
}