Skip to content

Commit

Permalink
Merge branch 'release/0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
psyrendust committed Oct 9, 2014
2 parents 111df6d + 3f09312 commit 526e160
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function resolveConfig(config) {

function loadGruntParentTasks(grunt, options) {
var log = function() {
grunt.log.writeln(['[loadGruntParentTasks]'.magenta].concat(Array.prototype.slice.call(arguments)).join(' '));
grunt.verbose.writeln(['[loadGruntParentTasks]'.magenta].concat(Array.prototype.slice.call(arguments)).join(' '));
};

options = options || {};
Expand Down Expand Up @@ -129,8 +129,10 @@ function loadGruntParentTasks(grunt, options) {
scripts: {}
}, deps);

log('Writing: ' + ('' + gruntCollectionJson).cyan);
grunt.file.mkdir(gruntCollection);
grunt.file.write(gruntCollectionJson, JSON.stringify(newPkg, null, 2));
log('loadNpmTasks: ' + 'grunt-collection'.cyan);
grunt.loadNpmTasks('grunt-collection');
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "load-grunt-parent-tasks",
"description": "Loads de-duped grunt tasks from parent or sibling modules.",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/psyrendust/load-grunt-parent-tasks",
"author": {
"name": "Larry Gordon",
Expand Down

0 comments on commit 526e160

Please sign in to comment.