# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/switchtower.rake, and they will automatically be available to Rake.

require 'rake'

require 'gettext_rails/tools'
desc "Create mo-files for L10n"
task :makemo do
  GetText.create_mofiles
end

desc "Update pot/po files to match new version."
task :updatepo do
  GetText.update_pofiles("lang_helper", Dir.glob("lib/*.{rb,rhtml}"),
                         "lang_helper 1.3.0")
end