PodToBUILD icon indicating copy to clipboard operation
PodToBUILD copied to clipboard

Support nested subspecs

Open kitterion opened this issue 5 years ago • 0 comments

Currently only targets for top level subspecs get generated.

I tried an easy solution of turning the following reduce into a recursive function https://github.com/pinterest/PodToBUILD/blob/5dc6454450d6566b37862fbe10ef909b4d9aea71/Sources/PodToBUILD/BuildFile.swift#L336-L349 but it seems to not be enough. In particular, the filegroup with union headers gets generated for a target and its parent spec but not all the way up to the root spec.

kitterion avatar Jul 20 '19 15:07 kitterion