summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-05-01 17:38:27 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-05-01 17:38:49 +0900
commit90baadb904d7b952b7e596be8c1f9a50ef729b3a (patch)
tree3c227dfe78f7136f5666b0552e70b6dcffa7a489 /tool/sync_default_gems.rb
parentf93fcdb885f0b5d8d215f2af6c3ffdca86de5034 (diff)
Ignore to sync used_cassettes.txt
Diffstat (limited to 'tool/sync_default_gems.rb')
-rwxr-xr-xtool/sync_default_gems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 4bd6bf6802..5b572a8163 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -158,7 +158,7 @@ module SyncDefaultGems
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")
- rm_rf(%w[spec/bundler/support/artifice/vcr_cassettes])
+ rm_rf Dir.glob("spec/bundler/support/artifice/{vcr_cassettes,used_cassettes.txt}")
rm_rf Dir.glob("lib/{bundler,rubygems}/**/{COPYING,LICENSE,README}{,.{md,txt,rdoc}}")
when "rdoc"
rm_rf(%w[lib/rdoc lib/rdoc.rb test/rdoc libexec/rdoc libexec/ri])