Skip to content

Commit bdadcaf

Browse files
committed
Auto merge of #2031 - colby-swandale:manifest-ignore-docs, r=hsbt
Do not index the doc folder in the `update_manifest` task. # Description: A small problem I have come across while doing work on RubyGems is when I need to update the Manifest. When running the `rake newb` - the task generates the RubyGems docs which is an entry in `.gitignore` but is not ignored in the `rake update_manifest` task. This means that everyone has to remember to either remove the `doc` folder beforehand or remove the entries in `Manifest.txt`. We should just be ignoring the `doc` folder entirely. ______________ # Tasks: - [x] Describe the problem / feature - [ ] Write tests - [ ] Write code to solve the problem - [ ] Get code review from coworkers / friends I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
2 parents 688fb7e + 1bfc87a commit bdadcaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Hoe::Package.instance_method(:install_gem).tap do |existing_install_gem|
9595
end
9696
end
9797

98-
Hoe::DEFAULT_CONFIG["exclude"] = %r[#{Hoe::DEFAULT_CONFIG["exclude"]}|\./bundler/(?!lib|man|exe|[^/]+\.md)]ox
98+
Hoe::DEFAULT_CONFIG["exclude"] = %r[#{Hoe::DEFAULT_CONFIG["exclude"]}|\./bundler/(?!lib|man|exe|[^/]+\.md)|doc/]ox
9999

100100
v = hoe.version
101101

0 commit comments

Comments
 (0)