diff options
| author | aycabta <aycabta@gmail.com> | 2019-04-23 18:09:46 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-04-23 20:08:02 +0900 |
| commit | f2cd4f4cd0a1e352fcc48a216127beaeda2b2399 (patch) | |
| tree | 8e02f39a8df8fa5708e446aeb8d42d45d8a28abe /tool/sync_default_gems.rb | |
| parent | 87cf45a512a7803f266e4782c49e0a99c06a4039 (diff) | |
IRB is improved with Reline and RDoc, take 2
Diffstat (limited to 'tool/sync_default_gems.rb')
| -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` |
