Skip to content

Commit

Permalink
Remove redundant Gemfile. Use rake newb
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain committed Mar 27, 2014
1 parent d18c31e commit 3cbf186
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
5 changes: 0 additions & 5 deletions Gemfile

This file was deleted.

20 changes: 12 additions & 8 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,21 @@ hoe.test_prelude = 'gem "minitest", "~> 4.0"'
Rake::Task['docs'].clear
Rake::Task['clobber_docs'].clear

require 'rdoc/task'
begin
require 'rdoc/task'

RDoc::Task.new :rdoc => 'docs', :clobber_rdoc => 'clobber_docs' do |doc|
doc.main = hoe.readme_file
doc.title = 'Rake -- Ruby Make'
RDoc::Task.new :rdoc => 'docs', :clobber_rdoc => 'clobber_docs' do |doc|
doc.main = hoe.readme_file
doc.title = 'Rake -- Ruby Make'

rdoc_files = Rake::FileList.new %w[lib History.rdoc MIT-LICENSE doc]
rdoc_files.add hoe.extra_rdoc_files
rdoc_files = Rake::FileList.new %w[lib History.rdoc MIT-LICENSE doc]
rdoc_files.add hoe.extra_rdoc_files

doc.rdoc_files = rdoc_files
doc.rdoc_files = rdoc_files

doc.rdoc_dir = 'html'
doc.rdoc_dir = 'html'
end
rescue LoadError
warn 'run `rake newb` to install rdoc'
end

0 comments on commit 3cbf186

Please sign in to comment.