From 995f816cf4e0a404075c27e0d249db0b4a07a97e Mon Sep 17 00:00:00 2001 From: Roland Eckl Date: Wed, 17 Oct 2012 09:29:21 +0200 Subject: [PATCH] Fixes #12752: Added OS-switch for grunt task "custom", to make use of grunt.cmd on Windows operating systems. closes gh-996 --- grunt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5