Commit b5580a98 authored by Kyle Robinson Young's avatar Kyle Robinson Young Committed by Dave Methvin

Use grunt option with grunt.util.spawn, close gh-1255.

parent 9fdbc8bf
......@@ -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>
......@@ -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 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment