Skip to content

Instantly share code, notes, and snippets.

@alchemycs
Created January 31, 2013 02:47
Show Gist options
  • Save alchemycs/4679517 to your computer and use it in GitHub Desktop.
Save alchemycs/4679517 to your computer and use it in GitHub Desktop.
Count JS app lines of code, exclude stuff you didn't write..
#!/bin/sh
find . -iname '*.js'|grep -v -E "^./(dev|node_modules|components|(public/js/((angular|bootstrap|jquery|underscore|modernizr|tiny_mce))))"|xargs wc -l|less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment