Created
May 28, 2009 03:39
-
-
Save JackDanger/119076 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for source in `find app test lib config -name *.rb`; do | |
if [ 2 = `egrep -c -v "(^#)|(^\s*$)" $source` ]; then | |
echo $source is an empty class or module definition; | |
fi; | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment