1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add irb section to tool/sync_default_gems.rb

This commit is contained in:
aycabta 2021-08-30 03:00:02 +09:00
parent ece4ed0da7
commit 2d93b523e1

View file

@ -133,6 +133,13 @@ def sync_default_gems(gem)
cp_r(Dir.glob("#{upstream}/lib/reline*"), "lib")
cp_r("#{upstream}/test/reline", "test")
cp_r("#{upstream}/reline.gemspec", "lib/reline")
when "irb"
rm_rf(%w[lib/irb lib/irb.rb test/irb])
cp_r(Dir.glob("#{upstream}/lib/irb*"), "lib")
cp_r("#{upstream}/test/irb", "test")
cp_r("#{upstream}/irb.gemspec", "lib/irb")
cp_r("#{upstream}/man/irb.1", "man/irb.1")
cp_r("#{upstream}/doc/irb", "doc")
when "json"
rm_rf(%w[ext/json test/json])
cp_r("#{upstream}/ext/json/ext", "ext/json")