lib/generators/speedo/install_generator.rb in speedo-0.2.0 vs lib/generators/speedo/install_generator.rb in speedo-0.2.5
- old
+ new
@@ -23,12 +23,15 @@
end
end
end
# app/assets/stylesheets/speedo.css.scss
- def copy_stylesheet
- copy_file 'app/assets/stylesheets/speedo.css.scss',
- 'app/assets/stylesheets/speedo.css.scss'
+ def copy_stylesheets
+ css = ['speedo','base','layout','plugins','theme','helpers']
+ css.each do |file|
+ copy_file "app/assets/stylesheets/speedo/#{file}.css.scss",
+ "app/assets/stylesheets/speedo/#{file}.css.scss"
+ end
end
# app/assets/stylesheets/application.css.scss
def copy_application_css
\ No newline at end of file