diff --git a/license_finder.gemspec b/license_finder.gemspec index 6ee2d7ebe..b3f3c35bd 100644 --- a/license_finder.gemspec +++ b/license_finder.gemspec @@ -62,7 +62,6 @@ Gem::Specification.new do |s| s.add_development_dependency "mime-types", "< 3.0" s.add_development_dependency "addressable", "< 2.5.0" - s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.files = `git ls-files`.split("\n").reject { |s| s.start_with? 'spec' } s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } end