tasks/grunt-hooks.js
function actuallyInstallHook(
			hookToCopy,
			whereToPutIt,
			sourceCanonicalName
		) {
			mkpath.sync( path.join( './', path.dirname( whereToPutIt ) ) );
			exec( 'cp ' + hookToCopy + ' ' + whereToPutIt );
			grunt.log.writeln( [
				'Installed ', sourceCanonicalName, ' hook in ', whereToPutIt
			].join( '' ).green );
		}
function actuallyInstallHook(
			hookToCopy,
			whereToPutIt,
			sourceCanonicalName
		) {
			mkpath.sync( path.join( './', path.dirname( whereToPutIt ) ) );
			exec( 'cp ' + hookToCopy + ' ' + whereToPutIt );
			grunt.log.writeln( [
				'Installed ', sourceCanonicalName, ' hook in ', whereToPutIt
			].join( '' ).green );
		}
function actuallyInstallHook ( hookToCopy , whereToPutIt , sourceCanonicalName ) { mkpath . sync ( path . join ( './' , path . dirname ( whereToPutIt ) ) ) ; exec ( 'cp ' + hookToCopy + ' ' + whereToPutIt ) ; grunt . log . writeln ( [ 'Installed ' , sourceCanonicalName , ' hook in ' , whereToPutIt ] . join ( '' ) . green ) ; }
Installs the hook without checking if it already exists
Installs the hook without checking if it already exists