Skip to content

Instantly share code, notes, and snippets.

@iley
Created March 24, 2011 10:31
Show Gist options
  • Save iley/884851 to your computer and use it in GitHub Desktop.
Save iley/884851 to your computer and use it in GitHub Desktop.
post-commit stats hook
echo === Interpreter stats ===
printf ' %s lines of code\n' `find interpreter -name '*.lisp' -exec cat {} \; | wc -l`
printf ' %s TODOs left\n' `find interpreter -type f -exec grep TODO {} \; | wc -l`
echo =========================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment