a45fd1ba by Adam Heath

Remove some extraneous logging when running external programs(including

bower).
1 parent 41c759d9
...@@ -213,15 +213,12 @@ module.exports = function (grunt) { ...@@ -213,15 +213,12 @@ module.exports = function (grunt) {
213 function externalMultiTask(name, desc, command, updateOptions) { 213 function externalMultiTask(name, desc, command, updateOptions) {
214 grunt.log.writeln('registering multiTask', name); 214 grunt.log.writeln('registering multiTask', name);
215 grunt.registerMultiTask(name, desc, function() { 215 grunt.registerMultiTask(name, desc, function() {
216 grunt.log.writeln('foobar', name);
217 grunt.log.writeln('foobar', name);
218 var done = this.async(); 216 var done = this.async();
219 var options = this.options(); 217 var options = this.options();
220 var target = this.target; 218 var target = this.target;
221 var configFile = holyGrailTmp + '/configs/' + name + '-' + target + '.json'; 219 var configFile = holyGrailTmp + '/configs/' + name + '-' + target + '.json';
222 var commandArgs = updateOptions.apply(this, [target, options, configFile]); 220 var commandArgs = updateOptions.apply(this, [target, options, configFile]);
223 grunt.file.write(configFile, JSON.stringify(options) + '\n'); 221 grunt.file.write(configFile, JSON.stringify(options) + '\n');
224 grunt.log.writeln(JSON.stringify(commandArgs) + '\n');
225 require('child_process').execFile(command, commandArgs, function (error, stdout, stderr) { 222 require('child_process').execFile(command, commandArgs, function (error, stdout, stderr) {
226 stdout = stdout.split('\n').map(function(v) { 223 stdout = stdout.split('\n').map(function(v) {
227 return name + ':' + target + ': ' + v; 224 return name + ':' + target + ': ' + v;
......