X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=Rakefile;h=822fe7327fe1f841ca28194470f67118f382bf5b;hb=0c4d227fc55b3051dfbaae519e6f6317f052ebb8;hp=bf08c83f6670723963cc7b35c4f838c860aa5423;hpb=fda5bee254ef5b97b2ff0e69741cf2f04d2d4b29;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/Rakefile b/Rakefile index bf08c83f..822fe732 100644 --- a/Rakefile +++ b/Rakefile @@ -6,7 +6,7 @@ task :default => [:buildext] spec = Gem::Specification.new do |s| s.name = 'rbot' - s.version = '0.9.11' + s.version = '0.9.15' s.summary = <<-EOF A modular ruby IRC bot. EOF @@ -209,8 +209,7 @@ task :buildext do end desc 'Generate mo files' -task :makemo => LOCALES.map {|l| - ["data/locale/#{l}/LC_MESSAGES/rbot.mo"] + - PLUGIN_BASENAMES.map {|n| "data/locale/#{l}/LC_MESSAGES/rbot-#{n}.mo"} -}.flatten +task :makemo => + FileList['po/*/*.po'].pathmap('%{^po,data/locale}d/LC_MESSAGES/%n.mo') +