mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
tools: make cloc, counts lines of code
This commit is contained in:
parent
94f2b37f12
commit
26ba907a2e
13
Makefile
13
Makefile
@ -1273,13 +1273,12 @@ tagrelease: \
|
||||
# @darcs changes --from-tag $(FROMTAG) |grep '^\w' |cut -c 31- |sort |uniq
|
||||
# @echo
|
||||
|
||||
# showloc: \
|
||||
# $(call def-help,showloc,\
|
||||
# \
|
||||
# )
|
||||
# @echo Current lines of code including tests:
|
||||
# @sloccount `ls $(SOURCEFILES)` | grep haskell:
|
||||
# @echo
|
||||
cloc: \
|
||||
$(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
|
||||
# `ls $(SOURCEFILES)`
|
||||
|
||||
# sloc: \
|
||||
# $(call def-help,sloc,\
|
||||
|
Loading…
Reference in New Issue
Block a user