X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=Rakefile;h=a04eab470c423b39af678a4be374c98d7f6f5c8c;hb=f6ec4e09d5d309f297b4ff6fd6c65ca82c74b462;hp=bf08c83f6670723963cc7b35c4f838c860aa5423;hpb=fda5bee254ef5b97b2ff0e69741cf2f04d2d4b29;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/Rakefile b/Rakefile index bf08c83f..a04eab47 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.13' 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') +