Skip to content
Permalink
Browse files

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

  • Loading branch information
shama authored and dmethvin committed Apr 24, 2013
1 parent 9fdbc8b commit b5580a989869f0b702e60704a35e133eeee3e1fc
Showing with 2 additions and 1 deletion.
  1. +1 −0 AUTHORS.txt
  2. +1 −1 Gruntfile.js
@@ -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 ) {

0 comments on commit b5580a9

Please sign in to comment.
You can’t perform that action at this time.