Skip to content

Commit ff3f08e

Browse files
committed
Exclude doc directory from Manifest.txt
1 parent eed0351 commit ff3f08e

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

Manifest.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ LICENSE.txt
44
MIT.txt
55
Manifest.txt
66
README.md
7-
doc/MAINTAINERS.txt
8-
doc/rubygems/CONTRIBUTING.md
9-
doc/rubygems/POLICIES.md
10-
doc/rubygems/UPGRADING.md
11-
doc/bundler/UPGRADING.md
127
bundler/CHANGELOG.md
138
bundler/LICENSE.md
149
bundler/README.md

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ module Rubygems
450450
class ProjectFiles
451451
def self.all
452452
files = []
453-
exclude = %r{\A(?:\.|bundler/(?!lib|exe|[^/]+\.md|bundler.gemspec)|tool/|Rakefile|bin|test)}
453+
exclude = %r{\A(?:\.|bundler/(?!lib|exe|[^/]+\.md|bundler.gemspec)|tool/|Rakefile|bin|test|doc)}
454454
tracked_files = `git ls-files`.split("\n")
455455

456456
tracked_files.each do |path|

rubygems-update.gemspec

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ Gem::Specification.new do |s|
2828
s.require_paths = ["hide_lib_for_update"]
2929
s.rdoc_options = ["--main", "README.md", "--title=RubyGems Update Documentation"]
3030
s.extra_rdoc_files = [
31-
"LICENSE.txt", "doc/MAINTAINERS.txt",
32-
"MIT.txt", "Manifest.txt", "README.md",
33-
"doc/rubygems/UPGRADING.md", "doc/rubygems/POLICIES.md", "CODE_OF_CONDUCT.md",
34-
"doc/rubygems/CONTRIBUTING.md",
31+
"LICENSE.txt", "MIT.txt", "Manifest.txt", "README.md", "CODE_OF_CONDUCT.md",
3532
"bundler/LICENSE.md", "bundler/README.md",
3633
"hide_lib_for_update/note.txt", *Dir["bundler/lib/bundler/man/*.1", base: __dir__]
3734
]

0 commit comments

Comments
 (0)