tasks/releasebuild.js
function runBuildTasks() {
      return (function() {
        if ( options.tasks.build.length > 0 ) {
          var aToRun = [];

          options.tasks.build.forEach(function( item ) {
            aToRun.push(command('grunt ' + item, 'Task:' + item));
          });

          return aToRun.reduce(function( accum, cur ) { //tks to http://stackoverflow.com/a/24262233/854575
            return accum.then(cur);
          }, Q());
        }
      }());
    }
function runBuildTasks() {
      return (function() {
        if ( options.tasks.build.length > 0 ) {
          var aToRun = [];

          options.tasks.build.forEach(function( item ) {
            aToRun.push(command('grunt ' + item, 'Task:' + item));
          });

          return aToRun.reduce(function( accum, cur ) { //tks to http://stackoverflow.com/a/24262233/854575
            return accum.then(cur);
          }, Q());
        }
      }());
    }
function runBuildTasks ( ) { return ( function ( ) { if ( options . tasks . build . length > 0 ) { var aToRun = [ ] ; options . tasks . build . forEach ( function ( item ) { aToRun . push ( command ( 'grunt ' + item , 'Task:' + item ) ) ; } ) ; return aToRun . reduce ( function ( accum , cur ) { //tks to http://stackoverflow.com/a/24262233/854575 return accum . then ( cur ) ; } , Q ( ) ) ; } } ( ) ) ; }
Run build tasks
Run build tasks