-
-
Save luizkowalski/b5e1e8483284f0fa42072eec1c5ece5f to your computer and use it in GitHub Desktop.
Count lines of code in a rails project
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
#!/bin/bash | |
find . \( -iname '*.rb' -o -iname '*.jb' -o -iname '*.erb' -o -iname '*.rake' \) -not -path "./spec/*" -not -path "./db/*" -exec wc -l {} + | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment