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 #235

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amatsuda
Copy link

@amatsuda amatsuda commented Aug 2, 2024

Here's a patch that excludes files under spec directory from the gem package.

The specs (and tests) are omittable from the gem package because these are used only for the gem itself's local development, and would never be used by the users who install this gem.

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

before: 19456 bytes
after:  12288 bytes

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.

1 participant