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

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

(cherry picked from commit b5580a98)
parent fc9e50a3
......@@ -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>
......@@ -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 ) {
......
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