recipeFor method
Find the first recipe that matches the given target.
Implementation
NativeBuildRecipe? recipeFor(NativeTarget target) {
for (final entry in recipes) {
if (entry.pattern.matches(target)) {
return entry.recipe;
}
}
return null;
}