Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add RDoc task to Rakefile
  • Loading branch information
rhenium committed Jul 9, 2016
1 parent 23a6b70 commit 4c7dcdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Expand Up @@ -3,6 +3,7 @@ gem 'rake-compiler'
require 'rake'
require 'rake/extensiontask'
require 'rake/testtask'
require 'rdoc/task'

Rake::ExtensionTask.new('openssl')

Expand All @@ -12,6 +13,10 @@ Rake::TestTask.new do |t|
t.warning = true
end

RDoc::Task.new do |rdoc|
rdoc.rdoc_files.include("README.md", "lib/**/*.rb", "ext/**/*.c")
end

task :test => :debug
task :debug do
sh "ruby -ropenssl -e 'puts OpenSSL::OPENSSL_LIBRARY_VERSION'"
Expand Down
1 change: 1 addition & 0 deletions openssl.gemspec
Expand Up @@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "~> 10.3"
spec.add_development_dependency "rake-compiler", "~> 0.9"
spec.add_development_dependency "test-unit", "~> 3.0"
spec.add_development_dependency "rdoc", "~> 4.2"
end

0 comments on commit 4c7dcdf

Please sign in to comment.