--
-$Id: ChangeLog 13 2005-03-29 16:03:33Z tilman $
+$Id: ChangeLog 14 2005-03-29 16:25:21Z tilman $
++
2005-03-29 Tilman Sauerbeck (tilman at code-monkey de)
* Rakefile: Tweak lookup of PKG_VERSION
+ * Rakefile: Require Rake 0.5.0 or greater
2005-03-28 Tilman Sauerbeck (tilman at code-monkey de)
* lib/redact/app.rb: Tweaked "redact --version" output
--
-$Id: README 9 2005-03-28 20:54:45Z tilman $
+$Id: README 14 2005-03-29 16:25:21Z tilman $
++
= Redact -- An Edje Compiler written in Ruby
== Dependencies
-Redact depends on Rake[http://rake.rubyforge.org],
+Redact depends on Rake[http://rake.rubyforge.org] 0.5.0 or greater,
Ruby-EET[http://code-monkey.de/projects/ruby-eet.html] and
Imlib2-Ruby[http://pablotron.org/software/imlib2-ruby].
-# $Id: Rakefile 13 2005-03-29 16:03:33Z tilman $
+# $Id: Rakefile 14 2005-03-29 16:25:21Z tilman $
require "rake/clean"
require "rake/testtask"
require "rake/contrib/compositepublisher.rb"
require "rake/contrib/sshpublisher"
+# make sure we run at least Rake 0.5.0
+if (RAKEVERSION.split(".").map { |p| p.to_i } <=> [0, 5, 0]) < 0
+ raise("Rake 0.5.0 or greater required")
+end
+
PKG_NAME = "redact"
PKG_VERSION = File.read("lib/redact/redact.rb").
match(/^\s*VERSION = \"(.*)\"\s*$/).captures.first