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

Fix readline-ext sync

This commit is contained in:
aycabta 2020-02-06 21:19:44 +09:00
parent 5fac54a594
commit e323f50a9c

View file

@ -267,8 +267,10 @@ def sync_default_gems(gem)
sync_lib "net-smtp"
mv "lib/net-smtp.gemspec", "lib/net/smtp"
when "readline-ext"
sync_lib "readline-ext"
mv "lib/readline-ext.gemspec", "ext/readline"
rm_rf(%w[ext/readline test/readline])
cp_r("#{upstream}/ext/readline", "ext")
cp_r("#{upstream}/test/readline", "test")
cp_r("#{upstream}/readline-ext.gemspec", "ext/readline")
when "did_you_mean"
rm_rf(%w[lib/did_you_mean* test/did_you_mean])
cp_r(Dir.glob("#{upstream}/lib/did_you_mean*"), "lib")