precompileExecutable method
Precompiles executable to a snapshot.
Implementation
Future<void> precompileExecutable(Executable executable) async {
assert(isCachedGlobal);
await log.progress('Building package executable', () async {
ensureDir(p.dirname(pathOfGlobalSnapshot(executable)));
return await _precompileExecutable(executable);
}, transient: true);
}