File tree Expand file tree Collapse file tree
makie/plugins/makie-list-pkgs-names/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ $ make list-pkgs-names
231231To list all package names under a ` @stdlib` descendant directory,
232232
233233` ` ` bash
234- $ make PACKAGES_DIR =./@stdlib/math/base list-pkgs-names
234+ $ make SRC_DIR =./@stdlib/math/base list-pkgs-names
235235` ` `
236236
237237* * *
Original file line number Diff line number Diff line change 11
22# VARIABLES #
33
4- # Define the root directory from which to search for packages:
5- PACKAGES_DIR ?= $(ROOT_DIR ) /lib/node_modules
6-
74# Define the path of the executable:
85LIST_PACKAGE_ADDONS ?= $(TOOLS_PKGS_DIR ) /pkgs/addons/bin/cli
96
@@ -18,6 +15,6 @@ LIST_PACKAGE_ADDONS_FLAGS ?=
1815# This target prints a list of all add-ons.
1916
2017list-pkgs-addons : $(LIST_PACKAGE_ADDONS ) $(NODE_MODULES )
21- $(QUIET ) $(NODE ) $(LIST_PACKAGE_ADDONS ) $(LIST_PACKAGE_ADDONS_FLAGS ) $(PACKAGES_DIR )
18+ $(QUIET ) $(NODE ) $(LIST_PACKAGE_ADDONS ) $(LIST_PACKAGE_ADDONS_FLAGS ) $(SRC_DIR )
2219
2320.PHONY : list-pkgs-addons
Original file line number Diff line number Diff line change 11
22# VARIABLES #
33
4- # Define the root directory from which to search for packages:
5- PACKAGES_DIR ?= $(ROOT_DIR ) /lib/node_modules
6-
74# Define the path of the executable:
85LIST_BROWSER_COMPATIBLE_PACKAGE_NAMES ?= $(TOOLS_PKGS_DIR ) /pkgs/browser-compatible/bin/cli
96
@@ -18,6 +15,6 @@ LIST_BROWSER_COMPATIBLE_PACKAGE_NAMES_FLAGS ?=
1815# This target prints a list of all packages which are compatible with browser environments.
1916
2017list-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 )
18+ $(QUIET ) $(NODE ) $(LIST_BROWSER_COMPATIBLE_PACKAGE_NAMES ) $(LIST_BROWSER_COMPATIBLE_PACKAGE_NAMES_FLAGS ) $(SRC_DIR )
2219
2320.PHONY : list-pkgs-browser-compatible
Original file line number Diff line number Diff line change 11
22# VARIABLES #
33
4- # Define the root directory from which to search for packages:
5- PACKAGES_DIR ?= $(ROOT_DIR ) /lib/node_modules
6-
74# Define the path of the executable:
85LIST_PACKAGE_CLIS ?= $(TOOLS_PKGS_DIR ) /pkgs/clis/bin/cli
96
@@ -18,6 +15,6 @@ LIST_PACKAGE_CLIS_FLAGS ?=
1815# This target prints a list of all package command-line interfaces.
1916
2017list-pkgs-clis : $(LIST_PACKAGE_CLIS ) $(NODE_MODULES )
21- $(QUIET ) $(NODE ) $(LIST_PACKAGE_CLIS ) $(LIST_PACKAGE_CLIS_FLAGS ) $(PACKAGES_DIR )
18+ $(QUIET ) $(NODE ) $(LIST_PACKAGE_CLIS ) $(LIST_PACKAGE_CLIS_FLAGS ) $(SRC_DIR )
2219
2320.PHONY : list-pkgs-clis
Original file line number Diff line number Diff line change 11
22# VARIABLES #
33
4- # Define the root directory from which to search for packages:
5- PACKAGES_DIR ?= $(ROOT_DIR ) /lib/node_modules
6-
74# Define the path of the executable:
85LIST_PACKAGE_NAMES ?= $(TOOLS_PKGS_DIR ) /pkgs/names/bin/cli
96
@@ -18,6 +15,6 @@ LIST_PACKAGE_NAMES_FLAGS ?=
1815# This target prints a list of all package names.
1916
2017list-pkgs-names : $(LIST_PACKAGE_NAMES ) $(NODE_MODULES )
21- $(QUIET ) $(NODE ) $(LIST_PACKAGE_NAMES ) $(LIST_PACKAGE_NAMES_FLAGS ) $(PACKAGES_DIR )
18+ $(QUIET ) $(NODE ) $(LIST_PACKAGE_NAMES ) $(LIST_PACKAGE_NAMES_FLAGS ) $(SRC_DIR )
2219
2320.PHONY : list-pkgs-names
Original file line number Diff line number Diff line change 11
22# VARIABLES #
33
4- # Define the root directory from which to search for packages:
5- PACKAGES_DIR ?= $(ROOT_DIR ) /lib/node_modules
6-
74# Define the path of the executable:
85LIST_PACKAGE_NAMESPACES ?= $(TOOLS_PKGS_DIR ) /pkgs/namespaces/bin/cli
96
@@ -18,6 +15,6 @@ LIST_PACKAGE_NAMESPACES_FLAGS ?=
1815# This target prints a list of all package namespaces.
1916
2017list-pkgs-namespaces : $(LIST_PACKAGE_NAMESPACES ) $(NODE_MODULES )
21- $(QUIET ) $(NODE ) $(LIST_PACKAGE_NAMESPACES ) $(LIST_PACKAGE_NAMESPACES_FLAGS ) $(PACKAGES_DIR )
18+ $(QUIET ) $(NODE ) $(LIST_PACKAGE_NAMESPACES ) $(LIST_PACKAGE_NAMESPACES_FLAGS ) $(SRC_DIR )
2219
2320.PHONY : list-pkgs-namespaces
Original file line number Diff line number Diff line change 11
22# VARIABLES #
33
4- # Define the root directory from which to search for packages:
5- PACKAGES_DIR ?= $(ROOT_DIR ) /lib/node_modules
6-
74# Define the path of the executable:
85LIST_PACKAGE_TREE ?= $(TOOLS_PKGS_DIR ) /pkgs/tree/bin/cli
96
@@ -18,6 +15,6 @@ LIST_PACKAGE_TREE_FLAGS ?=
1815# This target prints a list of all packages as a tree.
1916
2017list-pkgs-tree : $(LIST_PACKAGE_TREE ) $(NODE_MODULES )
21- $(QUIET ) $(NODE ) $(LIST_PACKAGE_TREE ) $(LIST_PACKAGE_TREE_FLAGS ) $(PACKAGES_DIR )
18+ $(QUIET ) $(NODE ) $(LIST_PACKAGE_TREE ) $(LIST_PACKAGE_TREE_FLAGS ) $(SRC_DIR )
2219
2320.PHONY : list-pkgs-tree
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function plugin( dir, cwd ) {
7575 opts . cwd = dir ;
7676
7777 args = [ ] ;
78- args . push ( 'PACKAGES_DIR =' + cwd ) ;
78+ args . push ( 'SRC_DIR =' + cwd ) ;
7979
8080 // Target:
8181 args . push ( 'list-pkgs-names' ) ;
You can’t perform that action at this time.
0 commit comments