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 Stencil for code generation templates #24

Closed
AliSoftware opened this issue Oct 2, 2015 · 2 comments
Closed

Use Stencil for code generation templates #24

AliSoftware opened this issue Oct 2, 2015 · 2 comments

Comments

@AliSoftware
Copy link
Collaborator

https://github.com/kylef/Stencil

@AliSoftware
Copy link
Collaborator Author

A branch stencil has been started to work on this.

This is still WIP, here's the status:

  • Import Stencil pod
  • Migrate ColorEnumBuilder to use Stencil templates
  • Migrate imageEnumBuilder to use Stencil templates
  • Migrate StoryboardEnumBuilder to use Stencil templates
  • Migrate StringEnumBuilder to use Stencil templates
  • Rename XXXEnumBuilders to XXXParsers, make them conform to a Parser protocol that declares parse(file:), parse(dir:) and var results: [String:AnyObject]
  • Provide more StringCaseNode types for string case manipulation (even turn them into filters? But we'd need to implement filters in Stencil first!)
  • Maks rake install install the templates in share/templates + test they are used by default
  • Check MIT Headers + README + CHANGELOG

@AliSoftware
Copy link
Collaborator Author

This is now merged in Master!

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

No branches or pull requests

1 participant