File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,22 @@ LIST_PACKAGE_NAMESPACES ?= $(TOOLS_PKGS_DIR)/pkgs/namespaces/bin/cli
2424# Define the command flags:
2525LIST_PACKAGE_NAMESPACES_FLAGS ?=
2626
27+ # Define the directory from which to search for namespaces:
28+ LIST_PACKAGE_NAMESPACES_DIR ?= $(SRC_DIR )
2729
28- # TARGETS #
2930
30- # List all package namespaces.
31- #
32- # This target prints a list of all package namespaces.
31+ # RULES #
3332
33+ # /
34+ # Prints a list of all package namespaces.
35+ #
36+ # @example
37+ # make list-pkgs-namespaces
38+ #
39+ # @example
40+ # make list-pkgs-namespaces LIST_PACKAGE_NAMESPACES_DIR=$PWD/lib/node_modules/\@stdlib/utils
41+ # /
3442list-pkgs-namespaces : $(LIST_PACKAGE_NAMESPACES ) $(NODE_MODULES )
35- $(QUIET ) NODE_PATH=" $( NODE_PATH) " $(NODE ) $(LIST_PACKAGE_NAMESPACES ) $(LIST_PACKAGE_NAMESPACES_FLAGS ) $(SRC_DIR )
43+ $(QUIET ) NODE_PATH=" $( NODE_PATH) " $(NODE ) $(LIST_PACKAGE_NAMESPACES ) $(LIST_PACKAGE_NAMESPACES_FLAGS ) $(LIST_PACKAGE_NAMESPACES_DIR )
3644
3745.PHONY : list-pkgs-namespaces
You can’t perform that action at this time.
0 commit comments