module Compass::Commands::InstallerCommand

Public Instance Methods

app() click to toggle source
# File lib/compass/commands/installer_command.rb, line 15
def app
  @app ||= Compass::AppIntegration.lookup(Compass.configuration.project_type)
end
configure!() click to toggle source
# File lib/compass/commands/installer_command.rb, line 8
def configure!
  add_project_configuration
  Compass.add_configuration(options, 'command_line')
  Compass.discover_extensions!
  Compass.add_configuration(installer.completed_configuration, 'installer')
end
installer() click to toggle source
# File lib/compass/commands/installer_command.rb, line 19
def installer
  @installer ||= if options[:bare]
    Compass::Installers::BareInstaller.new(*installer_args)
  else
    app.installer(*installer_args)
  end
end
installer_args() click to toggle source
# File lib/compass/commands/installer_command.rb, line 27
def installer_args
  [template_directory(options[:pattern] || "project"), project_directory, options]
end