aboutsummaryrefslogtreecommitdiff
path: root/ruby/Rakefile
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2018-09-05 22:33:21 -0400
committerPaul Duncan <pabs@pablotron.org>2018-09-05 22:33:21 -0400
commit1e839cd3ba61d3732fabdc54a4aa441cec613ba2 (patch)
treedc4dfe49c226b0eacf54614a77c52bbe99a89003 /ruby/Rakefile
parentabe810de48da22fbc8e28369f50e2863291fe505 (diff)
downloadluigi-template-1e839cd3ba61d3732fabdc54a4aa441cec613ba2.tar.bz2
luigi-template-1e839cd3ba61d3732fabdc54a4aa441cec613ba2.zip
ruby: add remaining tests, add full documentation, simplify gemspec, add "docs" task, minor bug fixes
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