Skip to content

Commit 917d455

Browse files
author
Austin Ziegler
committed
Making 'extra_rdoc_files' more robust.
1 parent cc55227 commit 917d455

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Hoe.spec PKG_NAME do
3333
self.changes = paragraphs_of(self.history_file, 0..1).join("\n\n")
3434
self.description = paragraphs_of(self.readme_file, 2..2).join("\n\n")
3535

36-
extra_rdoc_files << "Hacking.rdoc"
36+
extra_rdoc_files << MANIFEST.grep(/\.rdoc$/)
3737

3838
extra_dev_deps << [ "archive-tar-minitar", "~>0.5.1" ]
3939
extra_dev_deps << [ "hanna", "~>0.1.2" ]
@@ -121,4 +121,4 @@ task :build_manifest do |t|
121121
end
122122

123123
desc "Run a full set of integration and unit tests"
124-
task :cruise => [:test, :spec]
124+
task :cruise => [:test, :spec]

0 commit comments

Comments
 (0)