n8han/giter8 — pull request #71 by jto (2012-08-06 14:14:49+00:00)
Title: Add scaffolding

Hi Nathan,

This pull request add makes it possible to use g8 for scaffolding.

You just have to add a `src/main/scaffold` in your template, each folder in there is a template that can be later used in the project.

When g8 apply your template, all the scaffolds are copied into `.g8` at the root of your project.
Once you've added the sbt scaffold plugin (which should be already done by the template anyway), You can use the `g8-scaffold` command.

The `sample` folder contains a play project which contains scaffolds that you can test (just run sbt in this folder). I've also created the template containing scaffolds (https://github.com/jto/play-scala.g8).