]> source.dussan.org Git - jquery.git/commitdiff
Use grunt option with grunt.util.spawn, close gh-1255.
authorKyle Robinson Young <kyle@dontkry.com>
Wed, 24 Apr 2013 18:56:38 +0000 (11:56 -0700)
committerDave Methvin <dave.methvin@gmail.com>
Thu, 9 May 2013 19:16:54 +0000 (15:16 -0400)
(cherry picked from commit b5580a989869f0b702e60704a35e133eeee3e1fc)

AUTHORS.txt
Gruntfile.js

index c9bb928869ccecec9897557c06f6ed1ccfe3da0e..6ec40764aab02f941c8d73631207920b37922381 100644 (file)
@@ -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>
index bf31ddf8d11f9471dba1472715ceca74157721b9..766c9e2fdb76f7414e45deed942af53b16174c9b 100644 (file)
@@ -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 ) {