Only add the english README when generating RDoc
This commit is contained in:
parent
9fbb02d492
commit
2041c4697a
|
@ -20,7 +20,7 @@ Gem::Specification.new 'sinatra', version do |s|
|
|||
"sinatra.gemspec",
|
||||
"VERSION"]
|
||||
s.test_files = s.files.select { |p| p =~ /^test\/.*_test.rb/ }
|
||||
s.extra_rdoc_files = s.files.select { |p| p =~ /^README/ } << 'LICENSE'
|
||||
s.extra_rdoc_files = %w[README.md LICENSE]
|
||||
s.rdoc_options = %w[--line-numbers --title Sinatra --main README.rdoc --encoding=UTF-8]
|
||||
|
||||
if s.respond_to?(:metadata)
|
||||
|
|
Loading…
Reference in New Issue