[Command Line] Allow another configuration file to be used when creating a new project

This commit is contained in:
Chris Eppstein 2010-05-30 12:08:56 -07:00
parent 97b04666ed
commit 01277cd6ea
2 changed files with 2 additions and 6 deletions

View File

@ -6,11 +6,7 @@ module Compass
include Compass::Installers
def configure!
if respond_to?(:is_project_creation?) && is_project_creation?
Compass.add_configuration(options.delete(:project_type) || :stand_alone)
else
Compass.add_project_configuration(:project_type => options.delete(:project_type))
end
add_project_configuration
Compass.add_configuration(options, 'command_line')
Compass.discover_extensions!
Compass.add_configuration(installer.completed_configuration, 'installer')

View File

@ -23,7 +23,7 @@ module Compass
def configure!
add_project_configuration
Compass.add_configuration(options, "cli")
Compass.add_configuration(options, "command_line")
Compass.discover_extensions!
end