src/plugins.js
function getPluginsTasks(baseTask) {
	var tasks = [];
	var plugins = getPlugins();

	if (plugins) {
		for (pos = 0; pos < plugins.length; ++pos) {
			tasks.push(baseTask + '.' + plugins[pos]);
		}
	}

	return tasks;
}
function getPluginsTasks(baseTask) {
	var tasks = [];
	var plugins = getPlugins();

	if (plugins) {
		for (pos = 0; pos < plugins.length; ++pos) {
			tasks.push(baseTask + '.' + plugins[pos]);
		}
	}

	return tasks;
}
function getPluginsTasks ( baseTask ) { var tasks = [ ] ; var plugins = getPlugins ( ) ; if ( plugins ) { for ( pos = 0 ; pos < plugins . length ; ++ pos ) { tasks . push ( baseTask + '.' + plugins [ pos ] ) ; } } return tasks ; }
Function to ease the custom plugins management

@param   string  baseTask  Task to use as root. Example: 'clean:plugins.frontend'
@param   string  app       'frontend', 'backend'

@return  array
Function to ease the custom plugins management