resolve method
Implementation
@override
MakeResult resolve(MakeConfig config) {
MakeResult makeResult = MakeResult(config);
for (var artifact in makeResult.artifacts) {
if (artifact is File) {
if (!artifact.existsSync()) {
throw MakeError('No output file found.');
}
} else if (artifact is Directory) {
if (!artifact.existsSync()) {
throw MakeError('No output directory found.');
}
}
}
return makeResult;
}