diff options
author | aycabta <aycabta@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-20 08:51:20 +0000 |
---|---|---|
committer | aycabta <aycabta@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-20 08:51:20 +0000 |
commit | 7f273ac6d0f05208b5b228da95205e20c0e8286c (patch) | |
tree | bfec81d78d487c6d8015f26fd6a5740cfef63d31 /tool | |
parent | 91faab7f1477c65f71aee8324cdeca7b6f19434a (diff) | |
download | ruby-7f273ac6d0f05208b5b228da95205e20c0e8286c.tar.gz |
IRB is improved with Reline and RDoc
Reline is a readline stdlib compatible library. It also supports
multiline input. IRB is improved with Reline and supports multiline.
Besides, supports showing documents when completed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r-- | tool/sync_default_gems.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index e7917f7bec..557e70b8c0 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -3,6 +3,7 @@ # * https://github.com/rubygems/rubygems # * https://github.com/bundler/bundler # * https://github.com/ruby/rdoc +# * https://github.com/aycabta/reline # * https://github.com/flori/json # * https://github.com/ruby/psych # * https://github.com/ruby/fileutils @@ -42,6 +43,7 @@ $repositories = { rubygems: 'rubygems/rubygems', bundler: 'bundler/bundler', rdoc: 'ruby/rdoc', + reline: 'aycabta/reline', json: 'flori/json', psych: 'ruby/psych', fileutils: 'ruby/fileutils', @@ -102,6 +104,11 @@ def sync_default_gems(gem) `cp -rf ../rdoc/exe/ri ./libexec` `rm -f lib/rdoc/markdown.kpeg lib/rdoc/markdown/literals.kpeg lib/rdoc/rd/block_parser.ry lib/rdoc/rd/inline_parser.ry` `git checkout lib/rdoc/.document` + when "reline" + `rm -rf lib/reline* test/reline` + `cp -rf ../reline/lib/reline* ./lib` + `cp -rf ../reline/test test/reline` + `cp ../reline/reline.gemspec ./lib/reline` when "json" `rm -rf ext/json test/json` `cp -rf ../../flori/json/ext/json/ext ext/json` |