]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - Rakefile
plugins/keywords: add method that was missing from commit 7cac523563de6473d2f93fd2d05 ...
[user/henk/code/ruby/rbot.git] / Rakefile
index 00355b064cfc7c095bf46ca6e7535816c7a879ea..f0a42717df5d410712f9120bd0d4affd182bc2ba 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -6,7 +6,7 @@ task :default => [:repackage]
 
 spec = Gem::Specification.new do |s|
   s.name = 'rbot'
-  s.version = '0.9.10'
+  s.version = '0.9.11'
   s.summary = <<-EOF
     A modular ruby IRC bot.
   EOF
@@ -26,7 +26,7 @@ spec = Gem::Specification.new do |s|
 
   s.author = 'Tom Gilbert'
   s.email = 'tom@linuxbrit.co.uk'
-  s.homepage = 'http://linuxbrit.co.uk/rbot/'
+  s.homepage = 'http://ruby-rbot.org'
   s.rubyforge_project = 'rbot'
 end
 
@@ -35,3 +35,14 @@ Rake::GemPackageTask.new(spec) do |pkg|
   pkg.need_tar = true
 end
 
+desc "Update pot/po files."
+task :updatepo do
+  require 'gettext/utils'
+  GetText.update_pofiles("rbot", Dir.glob("{lib,bin,data}/**/*.{rb,rhtml}"), "rbot")
+end
+
+desc "Create mo-files"
+task :makemo do
+  require 'gettext/utils'
+  GetText.create_mofiles(true)
+end