Skip to content

Commit

Permalink
Merge pull request #168 from pact-foundation/pkg/remove_test_files
Browse files Browse the repository at this point in the history
fix: remove test files from built gem
  • Loading branch information
YOU54F authored Jul 30, 2024
2 parents cb2e411 + 4bb7bac commit 4e22621
Showing 1 changed file with 1 addition and 4 deletions.
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

0 comments on commit 4e22621

Please sign in to comment.