diff options
author | Roland Eckl <eckl.roland@googlemail.com> | 2012-10-17 09:29:21 +0200 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2012-10-17 12:59:43 -0400 |
commit | 995f816cf4e0a404075c27e0d249db0b4a07a97e (patch) | |
tree | 1fcf188fb28ff2961200dd25ce8d4669c0950911 /grunt.js | |
parent | 16d996ba0c150101632cef140116b7f68da162f8 (diff) | |
download | jquery-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.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ) { |