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

Create a generated folder to store tuist helpers #169

Closed
ollieatkinson opened this issue Dec 6, 2018 · 7 comments
Closed

Create a generated folder to store tuist helpers #169

ollieatkinson opened this issue Dec 6, 2018 · 7 comments

Comments

@ollieatkinson
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
As discussed in #60 we may require a place to store helper functions so that libraries may gain access to bundled resources when using static libraries, they are not included by default.

Describe the solution you'd like
Create a .tuist/generated folder and have a mechanism for writing out code using a template system. This would eventually be good for the user to be able to define their own too (maybe Sorcery, or just a basic template).

@pepicrft
Copy link
Contributor

pepicrft commented Dec 6, 2018

We can use Stencil for that, which is the library Sourcery depends on. Would you call it .tuist/? I'm not very convinced about using the name of Tuist anywhere in the generated objects. For example, the Swift Package Manager doesn't use spm or Swift Package Manager anywhere in the generated project AFAIK.

@ollieatkinson
Copy link
Collaborator Author

Very true - no reason to use the tuist name here, maybe just generated

@ollieatkinson
Copy link
Collaborator Author

Just keeping reference to the conversation we had on bundled resources (which started this conversation about generated code) #60 (comment)

@pepicrft
Copy link
Contributor

pepicrft commented Dec 7, 2018

Generated sounds good 👍. I'm looking in @esttorhe, who has experience in implementing a graph with static libraries.

@esttorhe
Copy link
Contributor

esttorhe commented Dec 8, 2018

This email got lost in my inbox with all the filters and redirects

Happy to help in any way I can :)

Just let me know what you need of me. I'll read the whole thread tomorrow to get up to date

@kwridan
Copy link
Collaborator

kwridan commented Dec 17, 2019

This is somewhat related to the thread discussion in #785 (comment)

@ollieatkinson
Copy link
Collaborator Author

We have now implemented this with ProjectHelpers

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

4 participants