Grunt task for Robot, a Mustache template HTML generator
Allows the generation of HTML templates from a given folder structure.
The Grunt integration is not complete, configuration is done in a separate .json file.
The task comes without tests, haven't that figured out, yet.
These folders are required and cannot be changed.
The location of the folder structure and the rendered output is configurable, see below, "The robot task".
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-robot --save-dev
In your project's Gruntfile, add a section named
robot to the data object passed into
Create the following file/folder structure in the project root:
The file robot.json
You can change the name / location of the source and output folders in the robot.json file.
You can change the name / location of the folder robot
version 0.1.2 2013-04-22 Take out unused option rootPath, caused sometimes run errors, add links to Robot project version 0.1.1 2013-03-16 Second try version 0.1.0 2013-03-16 First publication, broken !!