Retrospring/lib/capistrano/tasks/i18n.rake

10 lines
221 B
Ruby
Raw Normal View History

2017-03-31 13:46:21 -07:00
namespace :deploy do
task :i18n_js do
within release_path do
with rails_env: fetch(:rails_env), rails_groups: fetch(:rails_assets_groups) do
execute :rake, "i18n:js:export"
end
end
end
end