For rdoc, copy doc/rdoc to doc/ (#6181)

This commit is contained in:
Burdette Lamar 2022-07-25 14:58:41 -05:00 committed by GitHub
parent 382cde96fa
commit 43c11f6c49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2022-07-26 04:59:02 +09:00
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>

View File

@ -128,6 +128,7 @@ def sync_default_gems(gem)
when "rdoc"
rm_rf(%w[lib/rdoc lib/rdoc.rb test/rdoc libexec/rdoc libexec/ri])
cp_r(Dir.glob("#{upstream}/lib/rdoc*"), "lib")
cp_r("#{upstream}/doc/rdoc", "doc")
cp_r("#{upstream}/test/rdoc", "test")
cp_r("#{upstream}/rdoc.gemspec", "lib/rdoc")
cp_r("#{upstream}/Gemfile", "lib/rdoc")