function runIf(pattern, cmd) {
		var the_task = grunt.cli.tasks.length ? grunt.cli.tasks[ 0 ] : null;
		if (the_task && the_task.match(pattern)) {
			// Matching named / non-default task.
			return cmd;
		}
		// 'default' task.
		return 'echo :noop';
	}
/* Only run this task if the current task matches pattern.
	*/
Only run this task if the current task matches pattern.
Only run this task if the current task matches pattern .
function runIf(pattern, cmd) {
		var the_task = grunt.cli.tasks.length ? grunt.cli.tasks[ 0 ] : null;
		if (the_task && the_task.match(pattern)) {
			return cmd;
		}
		return 'echo :noop';
	}
function runIf ( pattern , cmd ) { var the_task = grunt . cli . tasks . length ? grunt . cli . tasks [ 0 ] : null ; if ( the_task && the_task . match ( pattern ) ) { return cmd ; } return 'echo :noop' ; }
Only run this task if the current task matches pattern.
Only run this task if the current task matches pattern .
// Matching named / non-default task. // 'default' task.