mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Use grunt option with grunt.util.spawn, close gh-1255.
This commit is contained in:
parent
9fdbc8bf33
commit
b5580a9898
@ -168,3 +168,4 @@ Steven Benner <admin@stevenbenner.com>
|
|||||||
Li Xudong <istonelee@gmail.com>
|
Li Xudong <istonelee@gmail.com>
|
||||||
Renato Oliveira dos Santos <ros3@cin.ufpe.br>
|
Renato Oliveira dos Santos <ros3@cin.ufpe.br>
|
||||||
Jason Bedard <jason+jquery@jbedard.ca>
|
Jason Bedard <jason+jquery@jbedard.ca>
|
||||||
|
Kyle Robinson Young <kyle@dontkry.com>
|
||||||
|
@ -260,7 +260,7 @@ module.exports = function( grunt ) {
|
|||||||
grunt.log.writeln( "Creating custom build...\n" );
|
grunt.log.writeln( "Creating custom build...\n" );
|
||||||
|
|
||||||
grunt.util.spawn({
|
grunt.util.spawn({
|
||||||
cmd: process.platform === "win32" ? "grunt.cmd" : "grunt",
|
grunt: true,
|
||||||
args: [ "build:*:*:" + modules, "pre-uglify", "uglify", "dist" ]
|
args: [ "build:*:*:" + modules, "pre-uglify", "uglify", "dist" ]
|
||||||
}, function( err, result ) {
|
}, function( err, result ) {
|
||||||
if ( err ) {
|
if ( err ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user