grunt-coffeecup
v0.1.0
Published
Compile CoffeeCup into HTML.
Downloads
3
Readme
grunt-coffeecup
WORK IN PROGRESS -- PRE-GENERATED DOCS AND TESTS
Compile CoffeeCup into HTML.
Getting Started
This plugin requires Grunt ~0.4.1
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-coffeecup --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-coffeecup');
The "coffeecup" task
Run this task with the grunt coffeecup
command.
Task targets, files and options may be specified according to the grunt Configuring tasks guide.
Options
Any items in the options
object are passed to CoffeeCup's render
function.
Usage Examples
Default Options
grunt.initConfig
# ... other configurations ...
coffeecup:
simple:
'path/to/result.html': 'path/to/source.coffee'
recurse:
expand: true
cwd: 'path/to'
src: ['**/*.coffee']
dest: 'path/to/dest'
ext: '.html'
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Release History
- 2013-03-18 v0.1.0 Bare minimum tests pass.