diff options
author | Kyle Robinson Young <kyle@dontkry.com> | 2013-04-24 11:56:38 -0700 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-05-09 15:16:54 -0400 |
commit | a6d35a313ea9bcb0e8b92c8624420ddea455e585 (patch) | |
tree | ff2bacc543472258a46e56d2b499aed201bb8e8f | |
parent | fc9e50a3ed00c8071e3b3e2024371b571728741b (diff) | |
download | jquery-a6d35a313ea9bcb0e8b92c8624420ddea455e585.tar.gz jquery-a6d35a313ea9bcb0e8b92c8624420ddea455e585.zip |
Use grunt option with grunt.util.spawn, close gh-1255.
(cherry picked from commit b5580a989869f0b702e60704a35e133eeee3e1fc)
-rw-r--r-- | AUTHORS.txt | 1 | ||||
-rw-r--r-- | Gruntfile.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS.txt b/AUTHORS.txt index c9bb92886..6ec40764a 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -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> diff --git a/Gruntfile.js b/Gruntfile.js index bf31ddf8d..766c9e2fd 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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 ) { |