Skip to content

Instantly share code, notes, and snippets.

@JackDanger
Created September 20, 2011 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JackDanger/1229934 to your computer and use it in GitHub Desktop.
Save JackDanger/1229934 to your computer and use it in GitHub Desktop.
Flay score for an entire directory
# torture your app directory
for source in $*; do
score=`flay $source | grep Total | cut -d = -f 2`
echo "$score : $source"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment