forked from srizzo/code2code
-
Notifications
You must be signed in to change notification settings - Fork 0
Creating generators
srizzo edited this page Sep 13, 2010
·
2 revisions
- Create a folder named “generators” on the root of your project
- Inside the generators folder, create a folder to put your files with the extension “.generator”. Ex.: “My Generator.generator”
- Create the templates for the files you want to generate, using any supported engine
- Create a templates configuration file to tell the plugin the destination of each template
- Create a params configuration file to tell the plugin the params your templates needs