compile function
Compiles the specified dartFile into the target executableType
since 0.0.1
Implementation
Future<void> compile(
IShell shell,
String dartFile, [
String executableType = 'kernel',
]) async {
await _whenDartBuildable('Compile', shell, () async {
_log.info('Compiling $dartFile to $executableType');
await shell.run('dart compile $executableType $dartFile');
});
}