Sha256: 6f9ffdf8a639731cb5061200fa871043be78c9db2332d21dffa442da4f97c368

Contents?: true

Size: 749 Bytes

Versions: 5

Compression:

Stored size: 749 Bytes

Contents

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

$LOAD_PATH.unshift "../lib"
$LOAD_PATH.unshift "../../lib"
require(File.join(File.dirname(__FILE__), 'config', 'boot'))

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

require 'tasks/rails'

desc "Create mo-files for L10n"
task :makemo do
  require 'gettext_rails/tools'
  GetText.create_mofiles
  mkdir "log" unless File.exists? "log"
end

desc "Update pot/po files to match new version."
task :updatepo do
  require 'gettext_rails/tools'
  GetText.update_pofiles("rails_test", Dir.glob("{app,lib}/**/*.{rb,rhtml,erb}"),
                         "rails_test 1.2.0")
end


Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gettext_rails-2.1.0 test/Rakefile
gettext_rails-2.0.1 test/Rakefile
gettext_rails-2.0.2 test/Rakefile
gettext_rails-2.0.3 test/Rakefile
gettext_rails-2.0.4 test/Rakefile