tasks/releasebuild.js
function verifyTasks() {
      if ( options.tasks.build ) {
        if ( isTypeString(options.tasks.build) ) {
          options.tasks.build = [options.tasks.build];
        }
        if ( util.isArray(options.tasks.build) ) {
          options.tasks.build.forEach(function( item ) {
            if ( !isTypeString(item) ) {
              errorOption('tasks.build', JSON.stringify(item));
            }
          });
        }
        else {
          errorOption('tasks.build', options.tasks.build);
        }
      }
      else {
        options.tasks.build = [];
      }
    }
function verifyTasks() {
      if ( options.tasks.build ) {
        if ( isTypeString(options.tasks.build) ) {
          options.tasks.build = [options.tasks.build];
        }
        if ( util.isArray(options.tasks.build) ) {
          options.tasks.build.forEach(function( item ) {
            if ( !isTypeString(item) ) {
              errorOption('tasks.build', JSON.stringify(item));
            }
          });
        }
        else {
          errorOption('tasks.build', options.tasks.build);
        }
      }
      else {
        options.tasks.build = [];
      }
    }
function verifyTasks ( ) { if ( options . tasks . build ) { if ( isTypeString ( options . tasks . build ) ) { options . tasks . build = [ options . tasks . build ] ; } if ( util . isArray ( options . tasks . build ) ) { options . tasks . build . forEach ( function ( item ) { if ( ! isTypeString ( item ) ) { errorOption ( 'tasks.build' , JSON . stringify ( item ) ) ; } } ) ; } else { errorOption ( 'tasks.build' , options . tasks . build ) ; } } else { options . tasks . build = [ ] ; } }
Test tasks.build option
Test tasks . build option