Skip to content

Commit 043d77a

Browse files
committed
Add recipe to compute number of lines per package
1 parent 2aec8e4 commit 043d77a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tools/make/lib/stats/git.mk

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,17 @@ stats-lines-per-file-type:
938938
.PHONY: stats-lines-per-file-type
939939

940940

941+
# Compute lines per file type per package.
942+
#
943+
# This target computes the number of lines per file type per package.
944+
945+
stats-lines-per-file-type-per-pkg:
946+
$(QUIET) $(MAKE_EXECUTABLE) $(GIT_SCRIPTS_DIR)/lines_per_file_type_per_pkg
947+
$(QUIET) PACKAGES_FILTER=$(PACKAGES_FILTER) $(GIT_SCRIPTS_DIR)/lines_per_file_type_per_pkg
948+
949+
.PHONY: stats-lines-per-file-type-per-pkg
950+
951+
941952
# List directory contributors.
942953
#
943954
# This target list contributors for a directory and its descendants.

0 commit comments

Comments
 (0)