File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,14 +30,17 @@ REPL_BUILD_ALIASES ?= $(SRC_DIR)/@stdlib/namespace/aliases/scripts/build.js
3030# Define the path to the executable for mapping REPL aliases to package names:
3131REPL_BUILD_ALIAS2PKG ?= $(SRC_DIR ) /@stdlib/namespace/alias2pkg/scripts/build.js
3232
33+ # Define the path to the executable for mapping REPL package names to aliases:
34+ REPL_BUILD_PKG2ALIAS ?= $(SRC_DIR ) /@stdlib/namespace/pkg2alias/scripts/build.js
35+
3336
3437# TARGETS #
3538
3639# Generate REPL docs.
3740#
3841# This target generates REPL documentation.
3942
40- repl-docs : repl-help repl-examples repl-aliases repl-alias2pkg
43+ repl-docs : repl-help repl-examples repl-aliases repl-alias2pkg repl-pkg2alias
4144
4245.PHONY : repl-docs
4346
@@ -80,3 +83,13 @@ repl-alias2pkg: $(NODE_MODULES) $(REPL_BUILD_ALIAS2PKG)
8083 $(QUIET ) $(NODE ) $(REPL_BUILD_ALIAS2PKG )
8184
8285.PHONY : repl-alias2pkg
86+
87+
88+ # Build the mapping between REPL package names and aliases.
89+ #
90+ # This target rebuilds the REPL database.
91+
92+ repl-pkg2alias : $(NODE_MODULES ) $(REPL_BUILD_PKG2ALIAS )
93+ $(QUIET ) $(NODE ) $(REPL_BUILD_PKG2ALIAS )
94+
95+ .PHONY : repl-pkg2alias
You can’t perform that action at this time.
0 commit comments