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

omit sorbet/ when building gem #15

Merged
merged 1 commit into from
Jan 23, 2022

Conversation

dduugg
Copy link
Contributor

@dduugg dduugg commented Jan 21, 2022

IIUC the sorbet/ directory is not needed at run time. Removing it from the gem build reduces the gem size by 93% (from 196k to 14k). There's probably room to optimize further (the remaining non-lib directories are likely unnecessary).

@michaelwebb76
Copy link
Collaborator

Hrm that's pretty good advice. I should probably do that across all our private and public gems 🤔

@michaelwebb76 michaelwebb76 merged commit 1bdd5b5 into samuelgiles:master Jan 23, 2022
@michaelwebb76
Copy link
Collaborator

1.8.2 published, thanks @dduugg

@dduugg dduugg deleted the reduce-gem-size branch January 23, 2022 23:52
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