[Command Line] Allow another configuration file to be used when creating a new project
This commit is contained in:
parent
97b04666ed
commit
01277cd6ea
@ -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')
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user