Skip to content

Commit

Permalink
use rdoc/task instead of rake/rdoctask in Rakefile
Browse files Browse the repository at this point in the history
and include samples/*rb files in gem package
  • Loading branch information
seiya committed May 23, 2014
1 parent 0fe083e commit d5df42d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@ end

task :default => :spec

require 'rake/rdoctask'
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

rdoc.rdoc_dir = 'rdoc'
rdoc.title = "ruby-mpi #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
rdoc.rdoc_files.include('samples/*.rb')
end


Expand Down

0 comments on commit d5df42d

Please sign in to comment.