mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Simplify syncing bundler
These files no longer exist upstream, so they don't need to be synced.
This commit is contained in:
parent
774cc32b4d
commit
cc4d8d037c
Notes:
git
2021-05-11 11:30:06 +09:00
1 changed files with 1 additions and 2 deletions
|
@ -95,7 +95,7 @@ def sync_default_gems(gem)
|
|||
cp_r(Dir.glob("#{upstream}/lib/rubygems*"), "lib")
|
||||
cp_r("#{upstream}/test/rubygems", "test")
|
||||
when "bundler"
|
||||
rm_rf(%w[lib/bundler lib/bundler.rb libexec/bundler libexec/bundle spec/bundler tool/bundler/*] + Dir.glob("man/{bundle*,gemfile*}"))
|
||||
rm_rf(%w[lib/bundler lib/bundler.rb libexec/bundler libexec/bundle spec/bundler tool/bundler/*])
|
||||
cp_r(Dir.glob("#{upstream}/bundler/lib/bundler*"), "lib")
|
||||
cp_r(Dir.glob("#{upstream}/bundler/exe/bundle*"), "libexec")
|
||||
cp_r("#{upstream}/bundler/bundler.gemspec", "lib/bundler")
|
||||
|
@ -103,7 +103,6 @@ def sync_default_gems(gem)
|
|||
cp_r(Dir.glob("#{upstream}/bundler/tool/bundler/test_gems*"), "tool/bundler")
|
||||
cp_r(Dir.glob("#{upstream}/bundler/tool/bundler/rubocop_gems*"), "tool/bundler")
|
||||
cp_r(Dir.glob("#{upstream}/bundler/tool/bundler/standard_gems*"), "tool/bundler")
|
||||
cp_r(Dir.glob("#{upstream}/bundler/man/*.{1,5,1\.txt,5\.txt,ronn}"), "man")
|
||||
`git checkout lib/bundler/bundler.gemspec`
|
||||
rm_rf(%w[spec/bundler/support/artifice/vcr_cassettes])
|
||||
when "rdoc"
|
||||
|
|
Loading…
Reference in a new issue