Skip to content

Commit

Permalink
Merge pull request #272 from bblimke/master
Browse files Browse the repository at this point in the history
Exclude spec/ Folder from Gem Package to Reduce Size
  • Loading branch information
camertron authored Mar 3, 2024
2 parents d57e652 + fc6135d commit 77a2666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions twitter_cldr.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Gem::Specification.new do |s|
'rubygems_mfa_required' => 'true'
}

gem_files = Dir['{lib,spec,resources}/**/*', 'Gemfile', 'History.txt', 'LICENSE', 'NOTICE', 'README.md',
gem_files = Dir['{lib,resources}/**/*', 'Gemfile', 'History.txt', 'LICENSE', 'NOTICE', 'README.md',
'Rakefile', 'twitter_cldr.gemspec']
excluded_files = %w[spec/collation/CollationTest_CLDR_NON_IGNORABLE.txt spec/normalization/NormalizationTest.txt]
excluded_files = %w[]
versioned_files = `git ls-files`.split("\n")

s.files = (gem_files - excluded_files) & versioned_files
Expand Down

0 comments on commit 77a2666

Please sign in to comment.