Skip to content

Commit

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

This aims to reduce the gem package size by removing test files from a built gem.
  • Loading branch information
ybiquitous authored Jan 14, 2025
1 parent c798312 commit 5272aa7
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 5272aa7

Please sign in to comment.