Sha256: bdb1966955cd05e751bbdf686e82e70c2778dcfa230fc2d50ac0a7878525d6da

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

include LatoCore::Interface

# Task che genera il file di configurazione di lato_view nella cache
# dell'applicazione principale
desc 'Create view.yml file for Lato configuration'
task :lato_view_initialize do
  # determino la directory di cache
  directory = core_getCacheDirectory
  FileUtils.cp "#{LatoView::Engine.root}/config/example.yml", "#{Rails.root}/config/lato/view.yml"

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lato_view-1.1 lib/tasks/lato_starter_tasks.rake