Skip to content

Commit

Permalink
Merge pull request #216 from amatsuda/exclude_specs_from_gem_package
Browse files Browse the repository at this point in the history
Exclude spec files from gem package
  • Loading branch information
krisleech authored Aug 15, 2024
2 parents 9cff687 + 559940a commit 4569343
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
Expand Up @@ -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 4569343

Please sign in to comment.