From 978ff1ff3a0db5455d591e151f212f4eff0f86c0 Mon Sep 17 00:00:00 2001 From: aycabta Date: Tue, 27 Aug 2019 05:24:13 +0900 Subject: [PATCH] Pick lib/readline.rb from ruby/reline --- tool/sync_default_gems.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index ec2aaaa13c..f9d7671624 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -112,7 +112,8 @@ def sync_default_gems(gem) rm_rf(%w[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(%w[lib/reline* test/reline]) + rm_rf(%w[lib/readline.rb lib/reline* test/reline]) + cp("#{upstream}/lib/readline.rb", "lib") cp_r(Dir.glob("#{upstream}/lib/reline*"), "lib") cp_r("#{upstream}/test/reline", "test") cp_r("#{upstream}/reline.gemspec", "lib/reline")