Skip to content

Commit ffa032f

Browse files
committed
Add recipe for building additional REPL databases and docs
1 parent e24633e commit ffa032f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tools/make/lib/docs/repl.mk

+12-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
#
2323
# This target generates REPL documentation.
2424

25-
repl-docs: repl-help repl-info repl-examples repl-signatures repl-typed-signatures repl-aliases repl-alias2pkg repl-pkg2alias repl-pkg2standalone repl-alias2related repl-pkg2related
25+
repl-docs: repl-help repl-info repl-examples repl-signatures repl-typed-signatures repl-aliases repl-alias2pkg repl-pkg2alias repl-alias2related repl-alias2standalone repl-pkg2related repl-pkg2standalone $(NODE_MODULES) $(SRC_DIR)/@stdlib/repl/scripts/build.js
26+
$(QUIET) $(NODE) "$(SRC_DIR)/@stdlib/repl/scripts/build.js"
2627

2728
.PHONY: repl-docs
2829

@@ -127,6 +128,16 @@ repl-pkg2related: $(NODE_MODULES) $(SRC_DIR)/@stdlib/namespace/pkg2related/scrip
127128
.PHONY: repl-pkg2related
128129

129130

131+
# Build the mapping between REPL aliases and standalone package names.
132+
#
133+
# This target rebuilds the REPL database.
134+
135+
repl-alias2standalone: $(NODE_MODULES) $(SRC_DIR)/@stdlib/namespace/alias2standalone/scripts/build.js
136+
$(QUIET) $(NODE) "$(SRC_DIR)/@stdlib/namespace/alias2standalone/scripts/build.js"
137+
138+
.PHONY: repl-alias2standalone
139+
140+
130141
# Build the mapping between REPL package names and standalone package names.
131142
#
132143
# This target rebuilds the REPL database.

0 commit comments

Comments
 (0)