Skip to content

Conversation

@amatsuda
Copy link
Contributor

@amatsuda amatsuda commented Aug 2, 2024

Here's a patch that excludes files under spec directory from the gem package. The code is taken from rspec-core's gemspec, and edited a little bit.

With this patch, the gem package size shrinks as follows:

before: 17920 bytes
after:  9216 bytes

@amatsuda amatsuda force-pushed the exclude_specs_from_gem_package branch from 0f3de91 to 7e17430 Compare August 4, 2024 06:59
@pirj pirj merged commit 2c6ef81 into rspec:main Aug 4, 2024
@pirj
Copy link
Member

pirj commented Aug 4, 2024

Thank you once again!

@amatsuda amatsuda deleted the exclude_specs_from_gem_package branch August 4, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants