grunt-civet
v0.1.2
Published
civet for grunt
Downloads
4
Readme
grunt-civet
civet for grunt
Getting Started
This plugin requires Grunt ~0.4.2
npm install grunt-civet --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-civet');
The "civet" task
Options
options.type
Type: String
Default value: 'velocity '
A string value that is used to do something with whatever.
And if can be 'velocity' or 'php';
Usage Examples
Custom Options
grunt.initConfig({
civet: {
buildVM:{
options:{
'type':'velocity'
},
files:{
'test/dest/vm/123.vm' : 'test/fixtures/123',
'test/dest/vm/testing.vm': 'test/fixtures/testing'
}
},
buildPHP:{
options:{
'type':'php'
},
files:{
'test/dest/php/123.php' : 'test/fixtures/123',
'test/dest/php/testing.php' : 'test/fixtures/testing'
}
}
}
});
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
v 0.1.0 v 0.1.1 v 0.1.2