Count lines of code, language by language
Clojure
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/sloccount
test/sloccount
.gitignore
LICENSE
README.md
project.clj

README.md

sloccount

Counts lines of code by programming language.

Usage

From the shell:

cd sloccount-clojure
lein run /path/to/project
# => {:html 7758, :text 541, :xml 15830, :comment 280 ...}

From the repl:

(require '[sloccount.core :as sloccount])
(sloccount/loc "/path/to/project")
;; => {:html 7758, :text 541, :xml 15830, :comment 280 ...}

License

Copyright (c) 2009 Joe Yates, released under the MIT license

Modified 2013 by ken restivo