aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gems/gettext-2.1.0/test/Rakefile
blob: 1d1e0247fdeffe3d3ca39b8b38fb012df85bca2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$LOAD_PATH.unshift "../lib"

task :default => :test

desc "Create mo files"
task :makemo do
  require 'gettext/tools'
  GetText.create_mofiles(:mo_root => "locale")
end

desc 'Run all tests'
task :test do
   Dir.glob("**/test_*.rb").each do |path|
    puts ""
    ruby "-I../lib:../../locale/lib -rubygems #{path}"
   end
end