mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
Ignore LICENSE files of libraries vendored in rubygems [ci skip]
This commit is contained in:
parent
1cdf8ab07b
commit
60ccd1ca81
1 changed files with 1 additions and 13 deletions
|
@ -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/rubocop_gems*"), "tool/bundler")
|
||||||
cp_r(Dir.glob("#{upstream}/bundler/tool/bundler/standard_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(%w[spec/bundler/support/artifice/vcr_cassettes])
|
||||||
license_files = %w[
|
rm_rf Dir.glob("lib/{bundle,rubygems}/**/{COPYING,LICENSE,README}{,.{md,txt,rdoc}}")
|
||||||
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
|
|
||||||
when "rdoc"
|
when "rdoc"
|
||||||
rm_rf(%w[lib/rdoc lib/rdoc.rb test/rdoc libexec/rdoc libexec/ri])
|
rm_rf(%w[lib/rdoc lib/rdoc.rb test/rdoc libexec/rdoc libexec/ri])
|
||||||
cp_r(Dir.glob("#{upstream}/lib/rdoc*"), "lib")
|
cp_r(Dir.glob("#{upstream}/lib/rdoc*"), "lib")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue