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:
parent
aa80f18fe5
commit
972558e0ad
2 changed files with 1 additions and 4 deletions
|
@ -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|
|
||||
|
|
|
@ -25,9 +25,6 @@ Gem::Specification.new do |s|
|
|||
|
||||
# generated from git ls-files
|
||||
s.files = [
|
||||
".gitignore",
|
||||
"Gemfile",
|
||||
"Gemfile.lock",
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"Rakefile",
|
||||
|
|
Loading…
Reference in a new issue