src/components.js
function getComponentsTasks(baseTask) {
	var components = getComponents();
	var tasks = [];

	for (index = 0; index < components.length; ++index) {
	    tasks.push(baseTask + '.' + components[index]);
	}

	return tasks;
}
function getComponentsTasks(baseTask) {
	var components = getComponents();
	var tasks = [];

	for (index = 0; index < components.length; ++index) {
	    tasks.push(baseTask + '.' + components[index]);
	}

	return tasks;
}
function getComponentsTasks ( baseTask ) { var components = getComponents ( ) ; var tasks = [ ] ; for ( index = 0 ; index < components . length ; ++ index ) { tasks . push ( baseTask + '.' + components [ index ] ) ; } return tasks ; }
Function to ease the components

@param   string  baseTask  Task to use as root. Example: 'clean:modules.frontend'

@return  array
Function to ease the components