Skip to content

Commit

Permalink
;just: drop cloc
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Dec 16, 2023
1 parent 9a38fd7 commit d7ff57a
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -972,22 +972,17 @@ _gitSwitchAutoCreate BRANCH:
echo "Commit authors ($(git shortlog -sn | wc -l | awk '{print $1}'))":
git shortlog -sne

# count lines of code with cloc
@cloc:
echo "Lines of code including tests:"
cloc --exclude-lang=HTML --exclude-dir=.stack-work,.idea,dist,old,bin,doc,site,.tutorial-data,static,angular .

SCC := 'scc -z --cocomo-project-type semi-detached -f wide -s code'

# count lines of code with scc
@scc:
echo Lines of code including tests:
$SCC -i hs,sh,m4,hamlet

# count lines of code with scc showing all files
@sccv:
echo Lines of code including tests:
$SCC -i hs,sh,m4,hamlet --by-file
scc:
echo "Lines of code including tests:"
{{ SCC }} -i hs,sh,m4,hamlet

# count lines of code with scc, showing all files
sccv:
echo "Lines of code including tests:"
{{ SCC }} -i hs,sh,m4,hamlet --by-file

# # `ls $(SOURCEFILES)`
# # sloc: \
Expand Down

0 comments on commit d7ff57a

Please sign in to comment.