Skip to content

Commit b4e7848

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

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
@@ -949,6 +949,17 @@ stats-lines-per-file-type-per-pkg:
949949
.PHONY: stats-lines-per-file-type-per-pkg
950950

951951

952+
# Compute lines per package.
953+
#
954+
# This target computes the number of lines in each package.
955+
956+
stats-lines-per-pkg:
957+
$(QUIET) $(MAKE_EXECUTABLE) $(GIT_SCRIPTS_DIR)/lines_per_pkg
958+
$(QUIET) PACKAGES_FILTER=$(PACKAGES_FILTER) FILES_PATTERN=$(FILES_PATTERN) $(GIT_SCRIPTS_DIR)/lines_per_pkg
959+
960+
.PHONY: stats-lines-per-pkg
961+
962+
952963
# List directory contributors.
953964
#
954965
# This target list contributors for a directory and its descendants.

0 commit comments

Comments
 (0)