tools: make cloc, counts lines of code

This commit is contained in:
Simon Michael 2016-01-17 08:52:19 -08:00
parent 94f2b37f12
commit 26ba907a2e

View File

@ -1273,13 +1273,12 @@ tagrelease: \
# @darcs changes --from-tag $(FROMTAG) |grep '^\w' |cut -c 31- |sort |uniq # @darcs changes --from-tag $(FROMTAG) |grep '^\w' |cut -c 31- |sort |uniq
# @echo # @echo
# showloc: \ cloc: \
# $(call def-help,showloc,\ $(call def-help,cloc, count lines of source code )
# \ @echo Lines of code including tests:
# ) @cloc --exclude-lang=HTML --exclude-dir=.stack-work,.idea,dist,old,bin,doc,site,.tutorial-data .
# @echo Current lines of code including tests: @echo
# @sloccount `ls $(SOURCEFILES)` | grep haskell: # `ls $(SOURCEFILES)`
# @echo
# sloc: \ # sloc: \
# $(call def-help,sloc,\ # $(call def-help,sloc,\