X-Git-Url: http://git.code-monkey.de/?p=redact.git;a=blobdiff_plain;f=Rakefile;h=c801ae961b06e0da7cae80689dea9bea3dbb3899;hp=3a3f52dc5a20a8d4b449fdfbac602d3b60f416c2;hb=20af3a3a8e6dd1eb5cd7676f907165dfa05e804f;hpb=5509b434e26fd1a8c9c3990154a881583b81d2a6 diff --git a/Rakefile b/Rakefile index 3a3f52d..c801ae9 100644 --- a/Rakefile +++ b/Rakefile @@ -43,14 +43,22 @@ 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", + t.rdoc_files.include("README", "COPYING", "AUTHORS", "TODO", "NEWS", "lib/redact/redact.rb", "lib/redact/part.rb", "lib/redact/program.rb") end +CLOBBER.include("ChangeLog") + +file "ChangeLog" do + `git log > ChangeLog` +end + Rake::PackageTask.new(PKG_NAME, PKG_VERSION) do |t| t.need_tar_gz = true - t.package_files.include("[A-Z]*", "bin/redact", "lib/redact/*.rb", + t.package_files.include("AUTHORS", "COPYING", "ChangeLog", "NEWS", + "README", "Rakefile", "TODO", + "bin/redact", "lib/redact/*.rb", "test/*.rb") end