Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use yard for docs

  • Loading branch information...
commit d31d3121438dd6906d423f150ca5313e349a18bf 1 parent 5bf8ba7
@aanand aanand authored
Showing with 3 additions and 15 deletions.
  1. +3 −15 Rakefile
View
18 Rakefile
@@ -24,21 +24,9 @@ rescue LoadError
end
end
+task :doc do
+ system "yard"
+end
task :default => :test
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- if File.exist?('VERSION.yml')
- config = YAML.load(File.read('VERSION.yml'))
- version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
- else
- version = ""
- end
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "deadweight #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
-
Please sign in to comment.
Something went wrong with that request. Please try again.