mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Tweak skipped files in bundler gemspec
We won't be using the `extra_rdoc_files` field, because it's very slow for markdown files.
This commit is contained in:
		
							parent
							
								
									cd2190448d
								
							
						
					
					
						commit
						3954799071
					
				
				
				Notes:
				
					git
				
				2021-05-31 21:26:50 +09:00 
				
			
			
			
		
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue