]> source.dussan.org Git - jquery.git/commitdiff
Fixes #12752: Added OS-switch for grunt task "custom", to make use of grunt.cmd on...
authorRoland Eckl <eckl.roland@googlemail.com>
Wed, 17 Oct 2012 07:29:21 +0000 (09:29 +0200)
committerMike Sherov <mike.sherov@gmail.com>
Wed, 17 Oct 2012 16:59:43 +0000 (12:59 -0400)
grunt.js

index c9e9702ecad033fcc0d59558b5ba29fb67f63669..234eb31544bfde1b7f7ad3e481f867d1d3e5804e 100644 (file)
--- 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 ) {