Skip to content

Commit

Permalink
Remove test files to reduce gem size
Browse files Browse the repository at this point in the history
Closes #951
Follows up to #771

This aims to reduce the gem package size by removing test files from a built gem.
  • Loading branch information
ybiquitous committed Jan 14, 2025
1 parent c798312 commit b4cdf9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oj.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |s|
s.licenses = ['MIT']
s.required_ruby_version = '>= 2.7'

s.files = Dir['{lib,ext,test}/**/*.{rb,h,c}'] + ['LICENSE', 'README.md', 'CHANGELOG.md', 'RELEASE_NOTES.md'] + Dir['pages/*.md']
s.files = Dir['{lib,ext}/**/*.{rb,h,c}'] + ['LICENSE', 'README.md', 'CHANGELOG.md', 'RELEASE_NOTES.md'] + Dir['pages/*.md']
s.extensions = ['ext/oj/extconf.rb']

s.extra_rdoc_files = ['README.md', 'LICENSE', 'CHANGELOG.md', 'RELEASE_NOTES.md'] + Dir['pages/*.md']
Expand Down

0 comments on commit b4cdf9d

Please sign in to comment.