loc
loc copied to clipboard
Scripts with no extensions are ignored
Take for example https://github.com/glandium/git-cinnabar
On the release branch (the default you get when cloning), the git-cinnabar script is rather large, and written in Python, yet isn't counted by loc (as confirmed by loc --files)
It wouldn't be ignored by pvdb/gloc :wink:
Same problem with everything in functions/ being ignored since they don't have an extension
in https://github.com/geometry-zsh/geometry/tree/less-dependencies
I had the same issue with a simple script (emacs-distribution from http://www.emacswiki.org/emacs/emacs-distribution) that I used for testing loc :
➜ bin loc emacs-distribution
--------------------------------------------------------------------------------
Language Files Lines Blank Comment Code
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Total 0 0 0 0 0
--------------------------------------------------------------------------------