Skip to content

Commit

Permalink
Remove test files from the gem package
Browse files Browse the repository at this point in the history
There are several files in the gem package that aren't useful for
downstream projects. Removing these reduces the gem package size from
83K to 50K!
  • Loading branch information
orien committed Feb 4, 2023
1 parent 08fb6ea commit ecf5239
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions simple_form.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ Gem::Specification.new do |s|
}

s.files = Dir["CHANGELOG.md", "MIT-LICENSE", "README.md", "lib/**/*"]
s.test_files = Dir["test/**/*.rb"]
s.test_files -= Dir["test/support/country_select/**/*"]
s.require_paths = ["lib"]

s.required_ruby_version = '>= 2.5.0'
Expand Down

0 comments on commit ecf5239

Please sign in to comment.