mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Use grunt option with grunt.util.spawn, close gh-1255.
(cherry picked from commit b5580a9898
)
This commit is contained in:
parent
fc9e50a3ed
commit
a6d35a313e
@ -165,3 +165,4 @@ Dmitry Gusev <dmitry.gusev@gmail.com>
|
||||
Michał Gołębiowski <m.goleb@gmail.com>
|
||||
Brandon Johnson <bjohn465+github@gmail.com>
|
||||
Jason Bedard <jason+jquery@jbedard.ca>
|
||||
Kyle Robinson Young <kyle@dontkry.com>
|
||||
|
@ -256,7 +256,7 @@ module.exports = function( grunt ) {
|
||||
grunt.log.writeln( "Creating custom build...\n" );
|
||||
|
||||
grunt.util.spawn({
|
||||
cmd: process.platform === "win32" ? "grunt.cmd" : "grunt",
|
||||
grunt: true,
|
||||
args: [ "build:*:*:" + modules, "pre-uglify", "uglify", "dist" ]
|
||||
}, function( err, result ) {
|
||||
if ( err ) {
|
||||
|
Loading…
Reference in New Issue
Block a user