grunt-hub
Advanced tools
Comparing version 0.6.1 to 0.6.2
{ | ||
"name": "grunt-hub", | ||
"description": "A Grunt task to watch and run tasks on multiple Grunt projects", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"homepage": "https://github.com/shama/grunt-hub", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -141,2 +141,3 @@ # grunt-hub | ||
* 0.6.2 Fix syntax error. Thanks @eugeneiiim! | ||
* 0.6.1 Fix path.resolve must be strings for ownGruntfile. Thanks @terribleplan! | ||
@@ -143,0 +144,0 @@ * 0.6.0 Removed unneeded watch task. Fix issue with Gruntfiles not named Gruntfile. Removed deprecated grunt.util libs. Ability to override tasks via the cli. |
@@ -15,3 +15,3 @@ /* | ||
var async = require('async'); | ||
var _ = require('lodash') | ||
var _ = require('lodash'); | ||
@@ -30,3 +30,3 @@ grunt.registerMultiTask('hub', 'Run multiple grunt projects', function() { | ||
// Get it's own gruntfile | ||
var ownGruntfile += grunt.option('gruntfile') || grunt.file.expand({filter: 'isFile'}, '{G,g}runtfile.{js,coffee}')[0]; | ||
var ownGruntfile = grunt.option('gruntfile') || grunt.file.expand({filter: 'isFile'}, '{G,g}runtfile.{js,coffee}')[0]; | ||
ownGruntfile = path.resolve(process.cwd(), ownGruntfile || ''); | ||
@@ -33,0 +33,0 @@ |
11256
165