Commit 995f816c authored by Roland Eckl's avatar Roland Eckl Committed by Mike Sherov

Fixes #12752: Added OS-switch for grunt task "custom", to make use of...

Fixes #12752: Added OS-switch for grunt task "custom", to make use of grunt.cmd on Windows operating systems. closes gh-996
parent 16d996ba
......@@ -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 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment