From a6d35a313ea9bcb0e8b92c8624420ddea455e585 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. (cherry picked from commit b5580a989869f0b702e60704a35e133eeee3e1fc) --- AUTHORS.txt | 1 + Gruntfile.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index c9bb92886..6ec40764a 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -165,3 +165,4 @@ Dmitry Gusev Michał Gołębiowski Brandon Johnson Jason Bedard +Kyle Robinson Young diff --git a/Gruntfile.js b/Gruntfile.js index bf31ddf8d..766c9e2fd 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -256,7 +256,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