X-Git-Url: http://git.code-monkey.de/?p=redact.git;a=blobdiff_plain;f=Rakefile;h=13968f721d3846af936790da774502235ceb50d4;hp=8a74e3316dcdbf18843a74cad071c2b22699f323;hb=7d89841550b3838d5924d56069cad51c8fbe1c69;hpb=8488c1e2c868cb7800f7084736597e03d9ed0904 diff --git a/Rakefile b/Rakefile index 8a74e33..13968f7 100644 --- a/Rakefile +++ b/Rakefile @@ -1,7 +1,8 @@ -# $Id: Rakefile 8 2005-03-28 18:11:12Z tilman $ +# $Id: Rakefile 10 2005-03-28 20:55:18Z tilman $ require "rake/clean" require "rake/testtask" +require "rake/rdoctask" CLOBBER.include(FileList["test/*.edj"]) @@ -30,3 +31,12 @@ Rake::TestTask.new do |t| t.test_files = FileList["test/test*.rb"] t.verbose = true end + +Rake::RDocTask.new do |t| + t.rdoc_dir = "doc" + t.title = "Redact - An Edje Compiler written in Ruby" + t.options = ["--line-numbers", "--inline-source", "--main", "README"] + t.rdoc_files.include("README", "COPYING", "AUTHORS", "ChangeLog", + "TODO", "lib/redact/redact.rb", + "lib/redact/part.rb", "lib/redact/program.rb") +end