aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorRoland Eckl <eckl.roland@googlemail.com>2012-10-17 09:29:21 +0200
committerMike Sherov <mike.sherov@gmail.com>2012-10-17 12:59:43 -0400
commit995f816cf4e0a404075c27e0d249db0b4a07a97e (patch)
tree1fcf188fb28ff2961200dd25ce8d4669c0950911 /grunt.js
parent16d996ba0c150101632cef140116b7f68da162f8 (diff)
downloadjquery-995f816cf4e0a404075c27e0d249db0b4a07a97e.tar.gz
jquery-995f816cf4e0a404075c27e0d249db0b4a07a97e.zip
Fixes #12752: Added OS-switch for grunt task "custom", to make use of grunt.cmd on Windows operating systems. closes gh-996
Diffstat (limited to 'grunt.js')
-rw-r--r--grunt.js2
1 files changed, 1 insertions, 1 deletions
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 ) {