summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-26 12:23:45 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-26 12:23:45 +0000
commita2456daf94d2a40d03fc76e4e165d885f4556e0e (patch)
treef801639440940ac69316fe4cdc7995f5ff6795be /tool
parent0409290ec077770f48f2274324b9986fa49d5da7 (diff)
Sync the executables of rdoc from upstream repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/sync_default_gems.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 5d428c5d37..bb4fcdd2cc 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -94,10 +94,12 @@ def sync_default_gems(gem)
`cp -r ../../bundler/bundler/man/*.{1,5,1\.txt,5\.txt,ronn} ./man`
`rm -rf spec/bundler/support/artifice/vcr_cassettes`
when "rdoc"
- `rm -rf lib/rdoc* test/rdoc`
+ `rm -rf lib/rdoc* test/rdoc libexec/rdoc libexec/ri`
`cp -rf ../rdoc/lib/rdoc* ./lib`
`cp -rf ../rdoc/test test/rdoc`
`cp ../rdoc/rdoc.gemspec ./lib/rdoc`
+ `cp -rf ../rdoc/exe/rdoc ./libexec`
+ `cp -rf ../rdoc/exe/ri ./libexec`
`rm -f lib/rdoc/markdown.kpeg lib/rdoc/markdown/literals.kpeg lib/rdoc/rd/block_parser.ry lib/rdoc/rd/inline_parser.ry`
`git checkout lib/rdoc/.document`
when "json"