summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorChris Dickinson <christopher.s.dickinson@gmail.com>2015-04-23 00:35:53 -0700
committerChris Dickinson <christopher.s.dickinson@gmail.com>2015-04-30 19:33:05 -0700
commit0450ce7db22ab4b6f9b2119197389ed7d3eac8c3 (patch)
tree9f9c8444e4370af50a0fa4216fbfa825a737eb0d /node.gyp
parenta5dcff827a2c7eaec9c20b6271bead8d2225c7c8 (diff)
downloadandroid-node-v8-0450ce7db22ab4b6f9b2119197389ed7d3eac8c3.tar.gz
android-node-v8-0450ce7db22ab4b6f9b2119197389ed7d3eac8c3.tar.bz2
android-node-v8-0450ce7db22ab4b6f9b2119197389ed7d3eac8c3.zip
repl: add mode detection, cli persistent history
this creates a new internal module responsible for providing the repl created via "iojs" or "iojs -i," and adds the following options to the readline and repl subsystems: * "repl mode" - determine whether a repl is strict mode, sloppy mode, or auto-detect mode. * historySize - determine the maximum number of lines a repl will store as history. The built-in repl gains persistent history support when the NODE_REPL_HISTORY_FILE environment variable is set. This functionality is not exposed to userland repl instances. PR-URL: https://github.com/iojs/io.js/pull/1513 Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 847f873c05..c72b93b138 100644
--- a/node.gyp
+++ b/node.gyp
@@ -72,6 +72,7 @@
'lib/internal/freelist.js',
'lib/internal/smalloc.js',
+ 'lib/internal/repl.js',
],
},