
var _     = require('lodash');
var chalk = require('chalk');

module.exports = function(options){

  var defaultOptions = require('./defaults.js')();
  options            = _.defaultsDeep(options, defaultOptions);
  var baseBuildName  = chalk.bgWhite( chalk.black('[ ' + 'Base Build ' + chalk.red('Angular') + ' ]') );

  /*
    ==========================
    Read gulp files
    ==========================
  */
  for(key in options.modules){
    var value    = options.modules[key];
    var category = '';

    if(value === defaultOptions.modulesData[key].defaultValue){
      category = chalk.cyan(' default ');
      require(value)(options);
    } else if(key != 'gulp'){
      category = chalk.blue(' external ');
      require( process.cwd() + value )
    }

    console.log( baseBuildName + ' required' + category + chalk.magenta(value) + ' module');
  }
}
@@ -501,10 +501,33 @@
 y = 
-''
+chalk.green(' external ')
 ;%0A%0A 
@@ -586,16 +586,33 @@
 ultValue
+ && key != 'gulp'
 )%7B%0A     
@@ -636,23 +636,24 @@
 .cyan(' 
-default
+built-in
  ');%0A   
@@ -694,25 +694,26 @@
 else if(key 
-!
+==
 = 'gulp')%7B%0A 
@@ -705,32 +705,33 @@
  === 'gulp')
+ 
 %7B%0A      
 category = c
@@ -722,44 +722,36 @@
     
-category = chalk.blue(' external ');
+require(value);%0A    %7D else %7B
 %0A   
@@ -785,16 +785,17 @@
  value )
+;
 %0A    %7D%0A%0A

Fix require das dependências externas (gulp)