Skip to content

Commit 6225d76

Browse files
committed
Add recipe to compute number of nonempty lines per package
1 parent 82c0614 commit 6225d76

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
@@ -1279,6 +1279,17 @@ stats-nonempty-lines-per-file-type:
12791279
.PHONY: stats-nonempty-lines-per-file-type
12801280

12811281

1282+
# Compute nonempty lines per package.
1283+
#
1284+
# This target computes the number of nonempty lines per package.
1285+
1286+
stats-nonempty-lines-per-pkg:
1287+
$(QUIET) $(MAKE_EXECUTABLE) $(GIT_SCRIPTS_DIR)/nonempty_lines_per_pkg
1288+
$(QUIET) PACKAGES_FILTER=$(PACKAGES_FILTER) FILES_PATTERN=$(FILES_PATTERN) $(GIT_SCRIPTS_DIR)/nonempty_lines_per_pkg
1289+
1290+
.PHONY: stats-nonempty-lines-per-pkg
1291+
1292+
12821293
# Compute number of files.
12831294
#
12841295
# This target computes the number of indexed files.

0 commit comments

Comments
 (0)