src/packages.js
function getPackagesTasks(baseTask) {
	var packages = getPackages();
	var tasks = [];

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

	return tasks;
}
function getPackagesTasks(baseTask) {
	var packages = getPackages();
	var tasks = [];

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

	return tasks;
}
function getPackagesTasks ( baseTask ) { var packages = getPackages ( ) ; var tasks = [ ] ; for ( index = 0 ; index < packages . length ; ++ index ) { tasks . push ( baseTask + '.' + packages [ index ] ) ; } return tasks ; }
Get packages tasks

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

@return  array
Get packages tasks