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

Stops discovering types after encountering generated files #33

Closed
jmonroe opened this issue Dec 16, 2016 · 4 comments
Closed

Stops discovering types after encountering generated files #33

jmonroe opened this issue Dec 16, 2016 · 4 comments
Labels

Comments

@jmonroe
Copy link

jmonroe commented Dec 16, 2016

I have discovered that Sourcery seems to stop discovering types after it encounters source files generated by Sourcery.

Given the following file list, sourcery only discovers types in files files A and B.

/source

  • A.swift
  • B.swift
  • /generated (folder containing files generated by sourcery)
  • H.swift

This is easily worked around by making sure that your generated files are not located under the input directory.

@krzysztofzablocki
Copy link
Owner

oh crap, that's my bad I was adding ignoring generated sources and made mistake that it prunes old types instead of just continue, fixing now

@krzysztofzablocki
Copy link
Owner

krzysztofzablocki commented Dec 16, 2016

@jmonroe I've a fix but unfortunately can't release it right now because github keeps rejecting zip file, can you try version: https://dl.dropboxusercontent.com/u/11523469/sourcery-0.3.7.zip

@jmonroe
Copy link
Author

jmonroe commented Dec 16, 2016

Yes, that fixed it. Thanks.

@krzysztofzablocki
Copy link
Owner

zip uploading worked through chrome, 0.3.7 is released now :)
Thank you for reporting the issue and let me know if you find anything else or need a feature

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

No branches or pull requests

2 participants