]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - Rakefile
* replace references to old website to references to new site
[user/henk/code/ruby/rbot.git] / Rakefile
index 6ad7f1bf64c6ad9c517633e63e2c4cc3f6763108..f0a42717df5d410712f9120bd0d4affd182bc2ba 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -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