mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
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:
2
grunt.js
2
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 ) {
|
||||
|
||||
Reference in New Issue
Block a user