Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove test files from built gem #168

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions pact-broker-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ Gem::Specification.new do |gem|
gem.description = %q{Client for the Pact Broker. Publish, retrieve and query pacts and verification results. Manage webhooks and environments.}
gem.summary = %q{See description}
gem.homepage = "https://github.com/pact-foundation/pact_broker-client.git"
gem.files = `git ls-files`.split($/).reject { |file| file.match(/(test|spec|features)/) }

gem.required_ruby_version = '>= 2.0'

gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.license = 'MIT'

Expand Down