1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

dont add hidden and bundler files to gem

This commit is contained in:
Konstantin Haase 2011-04-22 13:48:20 +02:00
parent aa80f18fe5
commit 972558e0ad
2 changed files with 1 additions and 4 deletions

View file

@ -30,7 +30,7 @@ task 'sinatra-contrib.gemspec' do
fields = {
:authors => `git shortlog -sn`.scan(/[^\d\s].*/),
:email => `git shortlog -sne`.scan(/[^<]+@[^>]+/),
:files => `git ls-files`.split("\n")
:files => `git ls-files`.split("\n").reject { |f| f =~ /^(\.|Gemfile)/ }
}
fields.each do |field, values|

View file

@ -25,9 +25,6 @@ Gem::Specification.new do |s|
# generated from git ls-files
s.files = [
".gitignore",
"Gemfile",
"Gemfile.lock",
"LICENSE",
"README.md",
"Rakefile",