Retrospring/lib/capistrano/tasks/i18n.rake

12 lines
261 B
Ruby
Raw Normal View History

2017-03-31 13:46:21 -07:00
namespace :deploy do
task :i18n_js do
2017-03-31 13:53:40 -07:00
on roles(:all) 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
end