-
Notifications
You must be signed in to change notification settings - Fork 440
Improve how gemspec's files are defined #1212
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Spelling.)
b83411c
to
fdc321b
Compare
@olleolleolle Thanks, updated 👍 |
fdc321b
to
487e121
Compare
@hsbt Does this Pull Request impact any processes used for ruby-src? |
@colby-swandale If you're talking about |
Currently, the gemspec's files are defined by hand, which is error-prone. For example: #1211 This commit uses `Dir.glob` where possible to reduce the risk of that happening again. - Additional files added with this approach: ``` # This should have been added by only captured by this commit lib/rdoc/parser/prism_ruby.rb # These are folders and can be included/ignored either way lib/rdoc/generator/template/darkfish lib/rdoc/generator/template/darkfish/css lib/rdoc/generator/template/darkfish/fonts lib/rdoc/generator/template/darkfish/images lib/rdoc/generator/template/darkfish/js lib/rdoc/generator/template/json_index lib/rdoc/generator/template/json_index/js ``` - Files that are ignored after this change: ``` # They make no difference on documentation generation # Probably can be removed lib/rdoc/generator/template/darkfish/.document lib/rdoc/generator/template/json_index/.document ```
487e121
to
b80dc95
Compare
I don't like But we can use trusted publisher now, it provides clean build and publish environments for us. I'm okay to this change. |
|
(ruby/rdoc#1212) Currently, the gemspec's files are defined by hand, which is error-prone. For example: ruby/rdoc#1211 This commit uses `Dir.glob` where possible to reduce the risk of that happening again. - Additional files added with this approach: ``` # This should have been added by only captured by this commit lib/rdoc/parser/prism_ruby.rb # These are folders and can be included/ignored either way lib/rdoc/generator/template/darkfish lib/rdoc/generator/template/darkfish/css lib/rdoc/generator/template/darkfish/fonts lib/rdoc/generator/template/darkfish/images lib/rdoc/generator/template/darkfish/js lib/rdoc/generator/template/json_index lib/rdoc/generator/template/json_index/js ``` - Files that are ignored after this change: ``` # They make no difference on documentation generation # Probably can be removed lib/rdoc/generator/template/darkfish/.document lib/rdoc/generator/template/json_index/.document ``` ruby/rdoc@ac2a151f10
Currently, the gemspec's files are defined by hand, which is error-prone.
For example: #1211
This commit uses
Dir.glob
where possible to reduce the risk of that happening again.Additional files added with this approach:
Files that are ignored after this change: