Sha256: 0767baae1e47fbc83395d8abeebb373aee04570961046b0432a69692925b7964

Contents?: true

Size: 674 Bytes

Versions: 8

Compression:

Stored size: 674 Bytes

Contents

######################################################################
#                           TOOLS SETUP                              #
######################################################################
Capistrano::Configuration.instance(:must_exist).load do
  require "chicken_soup/tools/defaults"
  require "chicken_soup/tools/tasks"

  ['defaults', 'checks', 'tasks'].each do |method|
    desc "[internal] This task is only here because `require` cannot be used within a `namespace`"
    task "load_tool_#{method}".to_sym do
      fetch(:tools).each do |tool|
        require_if_exists "chicken_soup/tools/#{tool}/#{tool}-#{method}"
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
chicken_soup-0.9.0 lib/chicken_soup/tools.rb
chicken_soup-0.8.6 lib/chicken_soup/tools.rb
chicken_soup-0.8.5 lib/chicken_soup/tools.rb
chicken_soup-0.8.4 lib/chicken_soup/tools.rb
chicken_soup-0.8.3 lib/chicken_soup/tools.rb
chicken_soup-0.8.2 lib/chicken_soup/tools.rb
chicken_soup-0.8.1 lib/chicken_soup/tools.rb
chicken_soup-0.8.0 lib/chicken_soup/tools.rb