diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-05-27 12:06:23 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-31 21:26:24 +0900 |
commit | 395479907159c5d948492cf761c614fb7c8364df (patch) | |
tree | 34352e7d3aca97b1f1215ecb91587c8667fe27c2 /tool/sync_default_gems.rb | |
parent | cd2190448d55edce5695c73b062e3faa7fb9bc3a (diff) | |
download | ruby-395479907159c5d948492cf761c614fb7c8364df.tar.gz |
Tweak skipped files in bundler gemspec
We won't be using the `extra_rdoc_files` field, because it's very slow
for markdown files.
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r-- | tool/sync_default_gems.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 80ba596ae7..1366c1d926 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -89,7 +89,7 @@ def sync_default_gems(gem) cp_r(Dir.glob("#{upstream}/bundler/exe/bundle*"), "libexec") gemspec_content = File.readlines("#{upstream}/bundler/bundler.gemspec").map do |line| - next if line =~ /extra_rdoc_files/ + next if line =~ /LICENSE\.md/ line.gsub("bundler.gemspec", "lib/bundler/bundler.gemspec").gsub('"exe"', '"libexec"') end.compact.join |