SwiftInfo icon indicating copy to clipboard operation
SwiftInfo copied to clipboard

Feature Request: Create a Separate Output JSON per Project

Open akaralar opened this issue 5 years ago • 1 comments

We have a workspace with many projects inside, what is the recommended way to use it in this case? Do we need to create a ProjectInfo for every project we have? We have 20+ projects so it might be a bit cumbersome to do by hand, is there an automated way to do it? Thanks in advance!

akaralar avatar Nov 07 '19 16:11 akaralar

Hmmmm in the Infofile itself you can get the output for different projects by creating different ProjectInfos, but the comparisons will be made with whatever was last retrieved in the JSON inside your repo, so you won't get correct results if you compare multiple projects in the same repo.

A way you can circumvent this is to have multiple Infofiles (assuming the xcodeprojs are in different folders), but it would be nice if we actually added support for a single Infofile to be able to generate multiple outputs. We would just have to make it retrieve and generate different jsons based on the xcodeproj file's name.

rockbruno avatar Nov 07 '19 16:11 rockbruno