Sha256: 4a39243453c171e1acf9bf381709d8bb08bb0dd241bcc193afdda5944bef3a63

Contents?: true

Size: 548 Bytes

Versions: 19

Compression:

Stored size: 548 Bytes

Contents

# frozen_string_literal: true

require 'rake'
require 'rubygems'
require 'carioca'
require 'tty-prompt'
require 'pastel'

$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
    res = []
  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/rake/tasks/')
Dir["#{tasks_path}/*.task*"].each { |ext| load ext }

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
carioca-2.1.10 lib/carioca/rake/manage.rb
carioca-2.1.9 lib/carioca/rake/manage.rb
carioca-2.1.8 lib/carioca/rake/manage.rb
carioca-2.1.7 lib/carioca/rake/manage.rb
carioca-2.1.6 lib/carioca/rake/manage.rb
carioca-2.1.5 lib/carioca/rake/manage.rb
carioca-2.1.4 lib/carioca/rake/manage.rb
carioca-2.1.3 lib/carioca/rake/manage.rb
carioca-2.1.2 lib/carioca/rake/manage.rb
carioca-2.1.1 lib/carioca/rake/manage.rb
carioca-2.1.0 lib/carioca/rake/manage.rb
carioca-2.0.12 lib/carioca/rake/manage.rb
carioca-2.0.11 lib/carioca/rake/manage.rb
carioca-2.0.10 lib/carioca/rake/manage.rb
carioca-2.0.9 lib/carioca/rake/manage.rb
carioca-2.0.8 lib/carioca/rake/manage.rb
carioca-2.0.7 lib/carioca/rake/manage.rb
carioca-2.0.6 lib/carioca/rake/manage.rb
carioca-2.0.5 lib/carioca/rake/manage.rb