]> 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:14:46 +0000 (15:14 -0400)
AUTHORS.txt
Gruntfile.js

index 580570fb23a5a3702accc6ca66bd7562516ded8c..b1fa8f62f73d78292cd229862255770b487d0cb0 100644 (file)
@@ -168,3 +168,4 @@ Steven Benner <admin@stevenbenner.com>
 Li Xudong <istonelee@gmail.com>
 Renato Oliveira dos Santos <ros3@cin.ufpe.br>
 Jason Bedard <jason+jquery@jbedard.ca>
+Kyle Robinson Young <kyle@dontkry.com>
index 5d41d71f3046a9db4750f042a07aa2eecf4db33c..8b697cf19267dd45fb8f3a8f54e209e006c5e68d 100644 (file)
@@ -260,7 +260,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 ) {