Skip to content

Commit 534ea37

Browse files
committed
Add recipe to compute number of files per package
1 parent bd73253 commit 534ea37

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
@@ -1356,6 +1356,17 @@ stats-num-files-per-file-type-per-pkg:
13561356
.PHONY: stats-num-files-per-file-type-per-pkg
13571357

13581358

1359+
# Compute number of files per package.
1360+
#
1361+
# This target computes the number of files per package.
1362+
1363+
stats-num-files-per-pkg:
1364+
$(QUIET) $(MAKE_EXECUTABLE) $(GIT_SCRIPTS_DIR)/num_files_per_pkg
1365+
$(QUIET) PACKAGES_FILTER=$(PACKAGES_FILTER) FILES_PATTERN=$(FILES_PATTERN) $(GIT_SCRIPTS_DIR)/num_files_per_pkg
1366+
1367+
.PHONY: stats-num-files-per-pkg
1368+
1369+
13591370
# Print a list of added and deleted `package.json` files
13601371
#
13611372
# This target prints a list of `package.json` files which have been either added or deleted.

0 commit comments

Comments
 (0)