Sha256: 4805fcfb27ca5fa933b9addb3e6d421953031c7873b027195ea6026b0d41245f

Contents?: true

Size: 894 Bytes

Versions: 11

Compression:

Stored size: 894 Bytes

Contents

class ForgeCLI
  MODULES = Dir.entries(File.join(File.dirname(__FILE__), 'forge-cli', 'modules')).reject do |e|
    %w{. ..}.include?(e)
  end
end

# This order is required
require 'active_support/core_ext/string'
require 'fileutils'
require 'rainbow'
require 'thor'
require 'yaml'
require 'forge-cli/version.rb'
require 'forge-cli/app.rb'

# This is alphabetical
require 'forge-cli/ability_installer.rb'
require 'forge-cli/application_creator.rb'
require 'forge-cli/controller_module_includer.rb'
require 'forge-cli/custom_file_copier.rb'
require 'forge-cli/forge_addon_requirer.rb'
require 'forge-cli/module_installer.rb'
require 'forge-cli/output.rb'
require 'forge-cli/post_hooks.rb'
require 'forge-cli/route_installer.rb'

# Require the post hooks from all the modules
Dir[File.join(File.dirname(__FILE__), 'forge-cli', 'modules', '*', 'post_hooks.rb')].each do |hooks|
  require hooks
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge-cli.rb
forge-cli-0.1.9 lib/forge-cli.rb
forge-cli-0.1.8 lib/forge-cli.rb
forge-cli-0.1.7 lib/forge-cli.rb
forge-cli-0.1.6 lib/forge-cli.rb
forge-cli-0.1.5 lib/forge-cli.rb
forge-cli-0.1.4 lib/forge-cli.rb
forge-cli-0.1.3 lib/forge-cli.rb
forge-cli-0.1.2 lib/forge-cli.rb
forge-cli-0.1.1 lib/forge-cli.rb
forge-cli-0.1.0 lib/forge-cli.rb