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:
parent
ece4ed0da7
commit
2d93b523e1
1 changed files with 7 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue