diff options
author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2022-07-25 14:58:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-25 14:58:41 -0500 |
commit | 43c11f6c4973e5e79043c90faee1ffc2019becc2 (patch) | |
tree | 240f5838cd5dd2034cde97eb092a76978b488daf /tool | |
parent | 382cde96fa34c776717925e7598bc32dde549195 (diff) | |
download | ruby-43c11f6c4973e5e79043c90faee1ffc2019becc2.tar.gz |
For rdoc, copy doc/rdoc to doc/ (#6181)
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/sync_default_gems.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index e5821898af..47f6f1c840 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -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") |