Skip to content

Commit

Permalink
add locale.rake
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonYCHuang committed Feb 15, 2017
1 parent 2b8ee6a commit 1cfc293
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/tasks/locale.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require "react_on_rails/locales_to_js"

namespace :react_on_rails do
desc "Generate i18n javascript files"
task locale: :environment do
ReactOnRails::LocalesToJs.new
end
end

0 comments on commit 1cfc293

Please sign in to comment.