Sourcery icon indicating copy to clipboard operation
Sourcery copied to clipboard

Use .xcfilelist file as sources list file

Open lyginne opened this issue 1 year ago • 0 comments

Reasoning:

For my project, it's a good idea to run mock generation via sourcery as one of the pre-build steps. To optimize build, you can setup "Input File Lists". I think, it is a good idea to use .xcfilelist for both xcode and sourcery, to keep input source files list single-sourced.

Therefore, if you need to add another automockable protocol to your generation process, you can just edit single file.

Note

Proposed input source files list should contain sources or paths for autogeneration only. The idea is to setup .sourcery.yml, templates and other input or output files for xcode run script phase separately.

lyginne avatar Aug 16 '23 13:08 lyginne