Sha256: f33d52cdac7c9667b1af2d911a2bbc04b04e73c3660507c555ddd83c3b1058e0

Contents?: true

Size: 386 Bytes

Versions: 2

Compression:

Stored size: 386 Bytes

Contents

include LatoCore::Interface

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

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lato_core-1.1.1 lib/tasks/lato_core_tasks.rake
lato_core-1.1 lib/tasks/lato_core_tasks.rake