Skip to content

Commit 444c540

Browse files
add cloc counter in makefile
1 parent 8e4ffc3 commit 444c540

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: test run cleanexec cleanlogs stresstest cleanexec prelude.inc prelude2.inc clean
1+
.PHONY: test run cleanexec cleanlogs stresstest cleanexec prelude.inc prelude2.inc clean cloc
22
.NOPARALLEL:
33
test: stresstest cleanexec
44

@@ -35,4 +35,7 @@ cleanlogs:
3535
rm -f cognac/tests/*.log
3636

3737
clean: cleanexec cleanlogs
38-
# cSpell: ignore lreadline Wuninitialized NOPARALLEL
38+
39+
cloc:
40+
cloc . --vcs=git
41+
# cSpell: ignore lreadline Wuninitialized NOPARALLEL cloc

0 commit comments

Comments
 (0)