From d7ff57add9942b6d322c68c1ed5255fe71a65c8c Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 16 Dec 2023 10:58:39 -1000 Subject: [PATCH] ;just: drop cloc --- Justfile | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/Justfile b/Justfile index 80e442d61..635e6812e 100644 --- a/Justfile +++ b/Justfile @@ -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 +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 +# 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: \