0.1.1 • Published 13 years ago
grunt-wintersmith-compile v0.1.1
grunt-wintersmith-compile
A grunt task for "wintersmith build" command.
The "wintersmith_compile" task
Overview
In your project's Gruntfile, add a section named wintersmith_compile to the data object passed into grunt.initConfig().
grunt.initConfig({
wintersmith_compile: {
your_target: {
config: 'path/to/config.json',
output: 'path/to/build'
},
},
})Options
options.config
Type: String
Default value: 'config.json'
A string value that is a path to config.json.
options.output
Type: String
Default value: 'build'
A string value that is used to output the html, css, js, images etc.
Usage Examples
Default Options
grunt.initConfig({
wintersmith_compile: {
your_target: {}
},
})Custom Options
grunt.initConfig({
wintersmith_compile: {
your_target: {
config: 'path/to/config.json',
output: 'path/to/build'
}
},
})Release History
(Nothing yet)