aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorKyle Robinson Young <kyle@dontkry.com>2013-04-24 11:56:38 -0700
committerDave Methvin <dave.methvin@gmail.com>2013-05-09 15:16:54 -0400
commita6d35a313ea9bcb0e8b92c8624420ddea455e585 (patch)
treeff2bacc543472258a46e56d2b499aed201bb8e8f /Gruntfile.js
parentfc9e50a3ed00c8071e3b3e2024371b571728741b (diff)
downloadjquery-a6d35a313ea9bcb0e8b92c8624420ddea455e585.tar.gz
jquery-a6d35a313ea9bcb0e8b92c8624420ddea455e585.zip
Use grunt option with grunt.util.spawn, close gh-1255.
(cherry picked from commit b5580a989869f0b702e60704a35e133eeee3e1fc)
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js2
1 files changed, 1 insertions, 1 deletions
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 ) {