Skip to content

Instantly share code, notes, and snippets.

@JackDanger
Created September 20, 2011 18:46
Show Gist options
  • Select an option

  • Save JackDanger/1229934 to your computer and use it in GitHub Desktop.

Select an option

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