--
-$Id: ChangeLog 10 2005-03-28 20:55:18Z tilman $
+$Id: ChangeLog 11 2005-03-28 21:00:30Z tilman $
++
2005-03-28 Tilman Sauerbeck (tilman at code-monkey de)
as the extension for the test Edjes
* README: Added basic documentation
* Rakefile: Added an RDocTask
+ * Rakefile: Added a PackageTask
2005-03-26 Tilman Sauerbeck (tilman at code-monkey de)
* lib/redact/app.rb: Use Tempfile's for the Embryo source- and
-# $Id: Rakefile 10 2005-03-28 20:55:18Z tilman $
+# $Id: Rakefile 11 2005-03-28 21:00:30Z tilman $
require "rake/clean"
require "rake/testtask"
require "rake/rdoctask"
+require "rake/packagetask"
+
+PKG_NAME = "redact"
+PKG_VERSION = `grep VERSION lib/redact/redact.rb`.
+ match(/VERSION = \"(.*)\"/).captures.first
CLOBBER.include(FileList["test/*.edj"])
"TODO", "lib/redact/redact.rb",
"lib/redact/part.rb", "lib/redact/program.rb")
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",
+ "test/*.rb")
+end