Skip to content

Creating generators

srizzo edited this page Sep 13, 2010 · 2 revisions
  1. Create a folder named “generators” on the root of your project
  2. Inside the generators folder, create a folder to put your files with the extension “.generator”. Ex.: “My Generator.generator”
  3. Create the templates for the files you want to generate, using any supported engine
  4. Create a templates configuration file to tell the plugin the destination of each template
  5. Create a params configuration file to tell the plugin the params your templates needs

Clone this wiki locally