summaryrefslogtreecommitdiff
path: root/ruby/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/Rakefile')
-rw-r--r--ruby/Rakefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/ruby/Rakefile b/ruby/Rakefile
index debc11c..0d302f9 100644
--- a/ruby/Rakefile
+++ b/ruby/Rakefile
@@ -1,8 +1,16 @@
require 'rake/testtask'
+require 'rdoc/task'
Rake::TestTask.new do |t|
t.libs << 'test'
end
+RDoc::Task.new :docs do |t|
+ t.main = "README.mkd"
+ t.rdoc_files.include('README.mkd', 'lib/*.rb')
+ t.rdoc_dir = 'docs'
+ # t.options << "--all"
+end
+
desc "Run tests"
task :default => :test