Skip to content

Instantly share code, notes, and snippets.

@lpil
Forked from alco/gist:2165064
Created October 23, 2015 16:49
Show Gist options
  • Save lpil/f3128d8c222b6fb0c7ee to your computer and use it in GitHub Desktop.
Save lpil/f3128d8c222b6fb0c7ee to your computer and use it in GitHub Desktop.
Count the number of non-blank SLOC in an Elixir project
git ls-files | egrep '\.erl|\.ex[s]$' | xargs cat | sed '/^$/d' | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment