Method: Compass::AppIntegration::StandAlone::Installer#finalize

Defined in:
lib/compass/app_integration/stand_alone/installer.rb

#finalize(options = {}) ⇒ Object



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/compass/app_integration/stand_alone/installer.rb', line 42

def finalize(options = {})
  if options[:create] && !manifest.welcome_message_options[:replace]
    puts "\n*********************************************************************\nCongratulations! Your compass project has been created.\n\nYou may now add and edit sass stylesheets in the \#{Compass.configuration.sass_dir} subdirectory of your project.\n\nSass files beginning with an underscore are called partials and won't be\ncompiled to CSS, but they can be imported into other sass stylesheets.\n\nYou can configure your project by editing the config.rb configuration file.\n\nYou must compile your sass stylesheets into CSS when they change.\nThis can be done in one of the following ways:\n  1. To compile on demand:\n     compass compile [path/to/project]\n  2. To monitor your project for changes and automatically recompile:\n     compass watch [path/to/project]\n\nMore Resources:\n  * Website: http://compass-style.org/\n  * Sass: http://sass-lang.com\n  * Community: http://groups.google.com/group/compass-users/\n\n"
  end
  puts manifest.welcome_message if manifest.welcome_message
  if manifest.has_stylesheet? && !manifest.welcome_message_options[:replace]
    puts "\nTo import your new stylesheets add the following lines of HTML (or equivalent) to your webpage:"
    puts stylesheet_links
  end
end