Ensure examples, all lib files, Gemfile and Rakefile are included in package
This commit is contained in:
parent
1666dade4f
commit
d6915b1b6a
|
@ -8,7 +8,7 @@ Gem::Specification.new 'sinatra', Sinatra::VERSION do |s|
|
|||
s.email = "sinatrarb@googlegroups.com"
|
||||
s.homepage = "http://www.sinatrarb.com/"
|
||||
s.license = 'MIT'
|
||||
s.files = %w(.yardopts AUTHORS.md CHANGELOG.md CONTRIBUTING.md LICENSE MAINTENANCE.md SECURITY.md sinatra.gemspec) + Dir['README.*.md', 'lib/**/*.rb']
|
||||
s.files = %w(.yardopts AUTHORS.md CHANGELOG.md CONTRIBUTING.md Gemfile LICENSE MAINTENANCE.md Rakefile SECURITY.md sinatra.gemspec) + Dir['README*.md', 'lib/**/*', 'examples/*']
|
||||
s.test_files = s.files.select { |p| p =~ /^test\/.*_test.rb/ }
|
||||
s.extra_rdoc_files = s.files.select { |p| p =~ /^README/ } << 'LICENSE'
|
||||
s.rdoc_options = %w[--line-numbers --inline-source --title Sinatra --main README.rdoc --encoding=UTF-8]
|
||||
|
|
Loading…
Reference in New Issue