Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude spec files from gem package #53

Merged
merged 1 commit into from
Aug 4, 2024

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
8 of 11 checks passed
@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