From: Tilman Sauerbeck Date: Mon, 28 Mar 2005 20:55:18 +0000 (+0000) Subject: Added an rdoctask. X-Git-Tag: redact-0.1.0~6 X-Git-Url: http://git.code-monkey.de/?p=redact.git;a=commitdiff_plain;h=7d89841550b3838d5924d56069cad51c8fbe1c69 Added an rdoctask. --- diff --git a/ChangeLog b/ChangeLog index 85dfd23..fc06214 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,5 @@ -- -$Id: ChangeLog 9 2005-03-28 20:54:45Z tilman $ +$Id: ChangeLog 10 2005-03-28 20:55:18Z tilman $ ++ 2005-03-28 Tilman Sauerbeck (tilman at code-monkey de) @@ -7,6 +7,7 @@ $Id: ChangeLog 9 2005-03-28 20:54:45Z tilman $ * Rakefile, test/test_basic.rb: Use 'edj' instead of 'eet' as the extension for the test Edjes * README: Added basic documentation + * Rakefile: Added an RDocTask 2005-03-26 Tilman Sauerbeck (tilman at code-monkey de) * lib/redact/app.rb: Use Tempfile's for the Embryo source- and 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