From: Roland Eckl Date: Wed, 17 Oct 2012 07:29:21 +0000 (+0200) Subject: Fixes #12752: Added OS-switch for grunt task "custom", to make use of grunt.cmd on... X-Git-Tag: 1.9.0b1~180 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=995f816cf4e0a404075c27e0d249db0b4a07a97e;p=jquery.git Fixes #12752: Added OS-switch for grunt task "custom", to make use of grunt.cmd on Windows operating systems. closes gh-996 --- diff --git a/grunt.js b/grunt.js index c9e9702ec..234eb3154 100644 --- a/grunt.js +++ b/grunt.js @@ -230,7 +230,7 @@ module.exports = function( grunt ) { grunt.log.writeln( "Creating custom build...\n" ); grunt.utils.spawn({ - cmd: "grunt", + cmd: process.platform === "win32" ? "grunt.cmd" : "grunt", args: [ "build:*:*:" + modules, "min" ] }, function( err, result ) { if ( err ) {