Sha256: baaec357be5542d1b17fd48927a722e9c7c3592a374304a5038998190089029f

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

# coding: utf-8
require 'rake'
require 'rubygems'
require 'carioca'

$VERBOSE = nil
if Gem::Specification.respond_to?(:find_by_name)
  begin
    spec = Gem::Specification.find_by_name('carioca')
    res = spec.lib_dirs_glob.split('/')
  rescue LoadError
    spec = nil
  end
else
  spec = Gem.searcher.find('carioca')
  res = Gem.searcher.lib_dirs_for(spec).split('/')
end

res.pop
tasks_path = res.join('/').concat('/lib/carioca/tasks/')


Dir["#{tasks_path}/*.rake"].each { |ext| load ext }

Version data entries

1 entries across 1 versions & 1 rubygems

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