]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - Rakefile
twitter plugin: whitespace cleanup
[user/henk/code/ruby/rbot.git] / Rakefile
index 6ad7f1bf64c6ad9c517633e63e2c4cc3f6763108..7a6bd81ea6b9eddf05554a796bd317f8408bc33f 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -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