code: function makePreCommit(inp, hooksPath) {
  	inp = inp || defaultMakeArgs;
  
  	console.log('Make command that will be run on commit: ' + inp);
  	console.log('Creating pre-commit script...');
  
  	var preCommitPath = hooksPath + '/pre-commit';
  
  	var buffer;
  
  	buffer = '#!/bin/sh\n' +
  		'REPO_ROOT="$(dirname $(dirname $(dirname "$0")))"\n' +
  		'make -C "${REPO_ROOT}" ' + inp + '\n';
  	fs.writeFileSync(preCommitPath, buffer);
  
  	var mode = '775';
  	console.log('Setting ' + preCommitPath + ' to be executable (' + mode + ')');
  	fs.chmodSync(preCommitPath, parseInt(mode, 8));
  }
docs: functions