From b5580a989869f0b702e60704a35e133eeee3e1fc Mon Sep 17 00:00:00 2001 From: Kyle Robinson Young Date: Wed, 24 Apr 2013 11:56:38 -0700 Subject: [PATCH] Use grunt option with grunt.util.spawn, close gh-1255. --- AUTHORS.txt | 1 + Gruntfile.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 580570fb2..b1fa8f62f 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -168,3 +168,4 @@ Steven Benner Li Xudong Renato Oliveira dos Santos Jason Bedard +Kyle Robinson Young diff --git a/Gruntfile.js b/Gruntfile.js index 5d41d71f3..8b697cf19 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -260,7 +260,7 @@ module.exports = function( grunt ) { grunt.log.writeln( "Creating custom build...\n" ); grunt.util.spawn({ - cmd: process.platform === "win32" ? "grunt.cmd" : "grunt", + grunt: true, args: [ "build:*:*:" + modules, "pre-uglify", "uglify", "dist" ] }, function( err, result ) { if ( err ) { -- 2.39.5