lib/compass/exec/project_options_parser.rb in compass-edge-0.9.3 vs lib/compass/exec/project_options_parser.rb in compass-edge-0.9.4
- old
+ new
@@ -6,9 +6,13 @@
def set_project_options(opts)
opts.on('-c', '--config CONFIG_FILE', 'Specify the location of the configuration file explicitly.') do |configuration_file|
self.options[:configuration_file] = configuration_file
end
+ opts.on('--app APP', 'Tell compass what kind of application it is integrating with. E.g. rails') do |project_type|
+ self.options[:project_type] = project_type.to_sym
+ end
+
opts.on('--sass-dir SRC_DIR', "The source directory where you keep your sass stylesheets.") do |sass_dir|
self.options[:sass_dir] = sass_dir
end
opts.on('--css-dir CSS_DIR', "The target directory where you keep your css stylesheets.") do |css_dir|