Fixes #12752: Added OS-switch for grunt task "custom", to make use of grunt.cmd on Windows operating systems. closes gh-996

This commit is contained in:
Roland Eckl
2012-10-17 09:29:21 +02:00
committed by Mike Sherov
parent 16d996ba0c
commit 995f816cf4

View File

@@ -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 ) {