This small modification adds integration to multiple generated projects.
It's a bit hacky, because Pod::Installer is not available inside hooks that are registered through Pod::HooksManager. It only provides Pod::Installer::PostInstallHooksContext, so a small workaround takes place.
There's also some boilerplate code happenned there. Maybe I should merge two arrays before iterating?
And I also added check to non-empty source file list (like in command-line tool)
This small modification adds integration to multiple generated projects.
It's a bit hacky, because
Pod::Installer
is not available inside hooks that are registered throughPod::HooksManager
. It only providesPod::Installer::PostInstallHooksContext
, so a small workaround takes place.There's also some boilerplate code happenned there. Maybe I should merge two arrays before iterating?
And I also added check to non-empty source file list (like in command-line tool)