grunt-hub
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -27,4 +27,4 @@ module.exports = function(grunt) { | ||
grunt.loadTasks('tasks'); | ||
grunt.registerTask('default', ['jshint']); | ||
}; |
{ | ||
"name": "grunt-hub", | ||
"description": "A Grunt task to watch and run tasks on multiple Grunt projects", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"homepage": "https://github.com/shama/grunt-hub", | ||
@@ -33,12 +33,13 @@ "author": { | ||
"dependencies": { | ||
"gaze": "~0.2.0", | ||
"gaze": "~0.3.2", | ||
"grunt-lib-contrib": "~0.3.1" | ||
}, | ||
"devDependencies": { | ||
"grunt-contrib-jshint": "~0.1.0", | ||
"grunt": "~0.4.0a" | ||
"grunt-contrib-jshint": "~0.1.1rc6", | ||
"grunt": "~0.4.0rc7" | ||
}, | ||
"keywords": [ | ||
"gruntplugin" | ||
"gruntplugin", | ||
"watch" | ||
] | ||
} |
@@ -120,2 +120,3 @@ # grunt-hub | ||
* 0.3.5 Update for latest grunt. Thanks @akinofftz! | ||
* 0.3.4 Allow watch task to be renamed. | ||
@@ -122,0 +123,0 @@ * 0.3.3 Fix issue with grunt-hub passing it's own tasks. Minor refactoring. |
@@ -30,7 +30,7 @@ /* | ||
// Get it's own gruntfile | ||
var ownGruntfile = grunt.option('gruntfile') || grunt.file.expandFiles('{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); | ||
grunt.util.async.forEachSeries(this.files, function(files, next) { | ||
var gruntfiles = grunt.file.expandFiles(files.src); | ||
var gruntfiles = grunt.file.expand({filter: 'isFile'}, files.src); | ||
grunt.util.async.forEachSeries(gruntfiles, function(gruntfile, n) { | ||
@@ -37,0 +37,0 @@ gruntfile = path.resolve(process.cwd(), gruntfile); |
@@ -103,3 +103,3 @@ /* | ||
var gruntfiles = Object.create(null); | ||
var ownGruntfile = grunt.option('gruntfile') || grunt.file.expandFiles('{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); | ||
@@ -110,3 +110,3 @@ targets.forEach(function(target) { | ||
} | ||
grunt.file.expandFiles(target.files).forEach(function(gruntfile) { | ||
grunt.file.expand({filter: 'isFile'}, target.files).forEach(function(gruntfile) { | ||
gruntfile = path.resolve(process.cwd(), gruntfile); | ||
@@ -113,0 +113,0 @@ |
17620
138
+ Addedfileset@0.1.8(transitive)
+ Addedgaze@0.3.4(transitive)
+ Addedglob@3.2.11(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedminimatch@0.3.0(transitive)
- Removedasync@0.1.22(transitive)
- Removedgaze@0.2.2(transitive)
- Removedglob@3.1.21(transitive)
- Removedgraceful-fs@1.2.3(transitive)
- Removedinherits@1.0.2(transitive)
- Removedlodash@0.10.0(transitive)
Updatedgaze@~0.3.2