Sha256: 678e057713954fea345a61b69e34361e62c70195df4c58305d24d030397bc43e

Contents?: true

Size: 393 Bytes

Versions: 3

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

require 'rake'
require "#{Rails.root}/config/lokalise_rails"

namespace :lokalise_rails do
  task :import do
    LokaliseRails::TaskDefinition::Importer.import!
  rescue StandardError => e
    abort e.inspect
  end

  task :export do
    LokaliseRails::TaskDefinition::Exporter.export!
  rescue StandardError => e
    abort e.inspect
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lokalise_rails-2.0.0 lib/tasks/lokalise_rails_tasks.rake
lokalise_rails-2.0.0.rc1 lib/tasks/lokalise_rails_tasks.rake
lokalise_rails-1.4.0 lib/tasks/lokalise_rails_tasks.rake