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

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
This commit is contained in:
hsbt 2018-11-26 12:23:45 +00:00
parent 0409290ec0
commit a2456daf94

View file

@ -94,10 +94,12 @@ def sync_default_gems(gem)
`cp -r ../../bundler/bundler/man/*.{1,5,1\.txt,5\.txt,ronn} ./man` `cp -r ../../bundler/bundler/man/*.{1,5,1\.txt,5\.txt,ronn} ./man`
`rm -rf spec/bundler/support/artifice/vcr_cassettes` `rm -rf spec/bundler/support/artifice/vcr_cassettes`
when "rdoc" 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/lib/rdoc* ./lib`
`cp -rf ../rdoc/test test/rdoc` `cp -rf ../rdoc/test test/rdoc`
`cp ../rdoc/rdoc.gemspec ./lib/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` `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` `git checkout lib/rdoc/.document`
when "json" when "json"