spotify / XCRemoteCache

Other
830 stars 53 forks source link

Add support for generate_multiple_pod_projects #57

Closed vasvf closed 2 years ago

vasvf commented 2 years ago

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)

vasvf commented 2 years ago

Any chance to be merged? :)