We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1e969c commit 7fc40abCopy full SHA for 7fc40ab
tools/make/lib/repl/Makefile
@@ -10,6 +10,9 @@ NODE_PATH_REPL ?= $(NODE_PATH)
10
# Define the path of the REPL executable:
11
REPL ?= $(LOCAL_BIN_DIR)/repl
12
13
+# Define any command-line options to use when invoking the REPL executable:
14
+REPL_FLAGS ?=
15
+
16
# Define the path of the directory in which to run the REPL:
17
REPL_DIR ?= $(ROOT_DIR)
18
@@ -25,6 +28,6 @@ repl: $(NODE_MODULES) $(REPL)
25
28
echo "Starting REPL..."; \
26
29
NODE_ENV=$(NODE_ENV_REPL) \
27
30
NODE_PATH=$(NODE_PATH_REPL) \
- $(REPL)
31
+ $(REPL) $(REPL_FLAGS)
32
33
.PHONY: repl
0 commit comments