Skip to content

Conversation

@ekohl
Copy link

@ekohl ekohl commented Aug 9, 2024

This avoids shipping files like .github and .travis.yml.

@ekohl ekohl requested review from a team as code owners August 9, 2024 20:05
This avoids shipping files like .github and .travis.yml.
@ekohl ekohl changed the title Only ship the minimally required files & stop activating Bundler Only ship the minimally required files Aug 9, 2024
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
spec.files = `git ls-files -z`.split("\x0").select do |f|
f.start_with?('LICENSE', 'README.md', 'lib/')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the exe directory is missing here 🤔.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used gem build and they show up. There was no need to list it twice (other is via executables)

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