grunt-jekyll
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "grunt-jekyll", | ||
"description": "A custom grunt.js plugin that executes jekyll compile and/or watch for you", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"homepage": "https://github.com/dannyx0/grunt-jekyll", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -45,3 +45,3 @@ # grunt-jekyll | ||
<td><pre>[path]</pre></td> | ||
<td><pre>"."</pre></td> | ||
<td><pre>"./site"</pre></td> | ||
<td>Destination Path</td> | ||
@@ -132,2 +132,4 @@ </tr> | ||
v0.2.1: Fixed destination path option. | ||
v0.2.0: Updated README with better options. Options are more flexible. | ||
@@ -134,0 +136,0 @@ |
@@ -32,3 +32,3 @@ module.exports = function (grunt) { | ||
if (opt.src) { | ||
opt.src = grunt.template.process(this.data.src); | ||
opt.src = grunt.template.process(opt.src); | ||
} else { | ||
@@ -38,6 +38,6 @@ opt.src = '.'; | ||
if (opt.src) { | ||
opt.dest = grunt.template.process(this.data.dest); | ||
if (opt.dest) { | ||
opt.dest = grunt.template.process(opt.dest); | ||
} else { | ||
opt.src = '.'; | ||
opt.dest = './_site'; | ||
} | ||
@@ -50,3 +50,3 @@ | ||
if (opt.src && opt.dest) { | ||
command += ' "' + src + '" "' + dest + '"'; | ||
command += ' "' + opt.src + '" "' + opt.dest + '"'; | ||
} | ||
@@ -53,0 +53,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7620
153