Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use .xcfilelist file as sources list file #1190

Open
lyginne opened this issue Aug 16, 2023 · 0 comments
Open

Use .xcfilelist file as sources list file #1190

lyginne opened this issue Aug 16, 2023 · 0 comments

Comments

@lyginne
Copy link

lyginne commented Aug 16, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant