File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ include $(TOOLS_MAKE_LIB_DIR)/ls/python.mk
226226include $(TOOLS_MAKE_LIB_DIR ) /ls/r.mk
227227include $(TOOLS_MAKE_LIB_DIR ) /ls/pkgs.mk
228228include $(TOOLS_MAKE_LIB_DIR ) /ls/pkgs_addons.mk
229+ include $(TOOLS_MAKE_LIB_DIR ) /ls/pkgs_browser_compatible.mk
229230include $(TOOLS_MAKE_LIB_DIR ) /ls/pkgs_clis.mk
230231include $(TOOLS_MAKE_LIB_DIR ) /ls/pkgs_names.mk
231232include $(TOOLS_MAKE_LIB_DIR ) /ls/pkgs_namespaces.mk
Original file line number Diff line number Diff line change 1+
2+ # VARIABLES #
3+
4+ # Define the root directory from which to search for packages:
5+ PACKAGES_DIR ?= $(ROOT_DIR ) /lib/node_modules
6+
7+ # Define the path of the executable:
8+ LIST_BROWSER_COMPATIBLE_PACKAGE_NAMES ?= $(TOOLS_PKGS_DIR ) /pkgs/browser-compatible/bin/cli
9+
10+ # Define the command flags:
11+ LIST_BROWSER_COMPATIBLE_PACKAGE_NAMES_FLAGS ?=
12+
13+
14+ # TARGETS #
15+
16+ # List browser compatible package names.
17+ #
18+ # This target prints a list of all packages which are compatible with browser environments.
19+
20+ list-pkgs-browser-compatible : $(LIST_BROWSER_COMPATIBLE_PACKAGE_NAMES ) $(NODE_MODULES )
21+ $(QUIET ) $(NODE ) $(LIST_BROWSER_COMPATIBLE_PACKAGE_NAMES ) $(LIST_BROWSER_COMPATIBLE_PACKAGE_NAMES_FLAGS ) $(PACKAGES_DIR )
22+
23+ .PHONY : list-pkgs-browser-compatible
You can’t perform that action at this time.
0 commit comments