Reduce gem size by excluding test files#83
Conversation
| QUOTE | ||
|
|
||
| s.files = `git ls-files`.split("\n") | ||
| s.test_files = `git ls-files spec`.split("\n") |
There was a problem hiding this comment.
The test_files directive is no longer used by RubyGems.org.
| ros.a_as_a_hash # { :b => 'c' } | ||
| QUOTE | ||
|
|
||
| s.files = `git ls-files`.split("\n") |
There was a problem hiding this comment.
AUTHORS.txt needs to be included here as well for licensing purposes.
aetherknight
left a comment
There was a problem hiding this comment.
The change looks good, and the reduction in final archive size is nice. Note, however, that we should also include the AUTHORS.txt file in the gem archive. Once that is done, I'll do a final check, then merge.
a4b185c to
7d702e1
Compare
done |
|
The change has been released in recursive-open-struct 2.1.1, along with some other maintenance changes for the project. |
This pull request updates the *.gemspec file to optimize the gem package size and structure
whitch files was deleted?
ps: you can see on rails repo