grunt-generator
Advanced tools
Comparing version 0.2.2 to 0.2.5
@@ -18,2 +18,5 @@ var path = require('path'); | ||
grunt.initConfig({ | ||
meta: { | ||
gruntconfigkey: "gruntconfigvalue" | ||
}, | ||
watch: { | ||
@@ -20,0 +23,0 @@ files: ['Gruntfile.js', 'tasks/**/*.js', 'spec/**/*.js'], |
{ | ||
"name": "grunt-generator", | ||
"description": "Static site generator with handlebars and showdown.", | ||
"version": "0.2.2", | ||
"version": "0.2.5", | ||
"homepage": "https://github.com/clavery/grunt-generator", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -90,2 +90,4 @@ # grunt-generator | ||
## Release History | ||
0.2.5 - added grunt and gruntConfig objects to options to allow access to grunt configuration in templates/pages | ||
0.2.2 - fix bug with partials | ||
@@ -92,0 +94,0 @@ |
@@ -52,2 +52,8 @@ /*global xit*/ | ||
it('should allow access to the grunt configuration', function() { | ||
var test7 = grunt.file.read(__dirname + '/build/gruntconfig_test.html'); | ||
expect(test7).toMatch(/gruntconfigvalue/m); | ||
}); | ||
//TODO | ||
@@ -54,0 +60,0 @@ xit('should handle empty/no templates', function() { |
@@ -0,0 +0,0 @@ { |
this is test3 |
@@ -0,0 +0,0 @@ { |
@@ -56,2 +56,4 @@ /* | ||
this.options.grunt = grunt; | ||
this.options.gruntConfig = grunt.config.data; | ||
return this; | ||
@@ -58,0 +60,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
17426
18
316
103