diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-01-08 20:58:12 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-01-08 20:58:12 +0900 |
commit | 60ccd1ca81e05d184b2b770526c2a627853eb23f (patch) | |
tree | 91ae94135eb58116fbbea6c1c55fec1e49645207 /tool | |
parent | 1cdf8ab07b24ebd16e93621957196e8b1d67f2ba (diff) |
Ignore LICENSE files of libraries vendored in rubygems [ci skip]
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/sync_default_gems.rb | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index e918f02002..74125557eb 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -159,19 +159,7 @@ module SyncDefaultGems 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]) - license_files = %w[ - lib/bundler/vendor/thor/LICENSE.md - lib/rubygems/resolver/molinillo/LICENSE - lib/bundler/vendor/molinillo/LICENSE - lib/bundler/vendor/connection_pool/LICENSE - lib/bundler/vendor/net-http-persistent/README.rdoc - lib/bundler/vendor/fileutils/LICENSE.txt - lib/bundler/vendor/tsort/LICENSE.txt - lib/bundler/vendor/uri/LICENSE.txt - lib/rubygems/optparse/COPYING - lib/rubygems/tsort/LICENSE.txt - ] - rm_rf license_files + rm_rf Dir.glob("lib/{bundle,rubygems}/**/{COPYING,LICENSE,README}{,.{md,txt,rdoc}}") when "rdoc" rm_rf(%w[lib/rdoc lib/rdoc.rb test/rdoc libexec/rdoc libexec/ri]) cp_r(Dir.glob("#{upstream}/lib/rdoc*"), "lib") |