Sha256: f71747c531f81698efaf72c6444b0b16050e84d5ffc9c398927b738a27384dc0

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

# coding: utf-8
require 'carioca'
namespace :carioca  do
  desc "initialize Carioca Registry"
  task :init_registry do
    mkdir 'services'
    carioca = Carioca::Services::Registry.init :name => 'services/registry.yml', :debug => true
    carioca.discover_builtins
    carioca.save!
    puts "Carioca : Registry initialize in services/registry.yml (see /tmp/log.file for details)"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
carioca-1.4 lib/carioca/tasks/registry_init.rake