Skip to content

Commit

Permalink
exclude_specs_from_gem_package
Browse files Browse the repository at this point in the history
amatsuda committed Aug 2, 2024
1 parent 9cff687 commit 559940a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wisper.gemspec
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Gem::Specification.new do |gem|
gem.cert_chain = ['gem-public_cert.pem']
end

gem.files = `git ls-files`.split($/).reject { |f| f.split('/').first == 'bin' }
gem.files = `git ls-files`.split($/).reject { |f| f.start_with?(%r{(bin|spec)/}) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
end

0 comments on commit 559940a

Please sign in to comment.