get gem files from Dir[] instead of git ls-files
This commit is contained in:
parent
ee08d9d13e
commit
7af56e8363
@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
||||
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
||||
end
|
||||
|
||||
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
||||
spec.files = Dir['{bin,exe,ext,assets,integration,lib,spec,doc}/**/*', '*.gemspec', '.rspec']
|
||||
spec.bindir = "exe"
|
||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
||||
spec.extensions = %w[ext/svi/extconf.rb]
|
||||
|
Loading…
x
Reference in New Issue
Block a user