lib/generators/scss_boilerplate/install/install_generator.rb in scss-boilerplate-rails-0.1.0 vs lib/generators/scss_boilerplate/install/install_generator.rb in scss-boilerplate-rails-0.1.1

- old
+ new

@@ -3,15 +3,11 @@ class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def generate_scss_install template "config/compass.rb" - copy_file "base.css.scss", "app/assets/stylesheets/base.css.scss" - directory "base", "app/assets/stylesheets/base" - # add import to manifest - manifest = "app/assets/stylesheets/application.css.scss" - create_file manifest unless File.exists? manifest - append_to_file manifest, "\n@import \"base.css.scss\";" + copy_file "application.css.scss", "app/assets/stylesheets/application.css.scss" + directory "application", "app/assets/stylesheets/application" end end end end