allow specs to work even when it's between 23:00 and 00:00
[coquelicot.git] / Rakefile
1 $:.unshift File.join(File.dirname(__FILE__), 'lib')
2
3 desc "Update pot/po files."
4 task :updatepo do
5   require 'gettext/tools'
6   require 'haml_parser'
7   GetText.update_pofiles(
8     "coquelicot",
9     Dir.glob("views/**/*.{rb,haml}") << "lib/coquelicot/app.rb",
10     "coquelicot 1.0.0")
11 end
12
13 desc "Create mo-files"
14 task :makemo do
15   require 'gettext/tools'
16   GetText.create_mofiles(:mo_root => './locale')
17 end