Sha256: 5c11a250253f6726986d9dee742ba538056e920c3d899cd2c4a0a93641e5d0c3

Contents?: true

Size: 1.6 KB

Versions: 1

Compression:

Stored size: 1.6 KB

Contents

class LayoutFilesGenerator < Rails::Generator::Base
  
  def manifest
    record do |m|
      m.directory File.join("public", "stylesheets", "wireframe")
      m.directory File.join("public", "stylesheets", "wireframe", "images")

      ["public/javascripts/application.js",
      "public/stylesheets/forms.css",
      "public/stylesheets/ie6.css",
      "public/stylesheets/ie7.css",
      "public/stylesheets/layout.css",
      "public/stylesheets/mobile.css",
      "public/stylesheets/print.css",
      "public/stylesheets/reset.css",
      "public/stylesheets/skin.css",
      "public/stylesheets/typography.css",
      "public/stylesheets/wireframe.css",
      "public/stylesheets/wireframe/ie6.css",
      "public/stylesheets/wireframe/ie7.css",
      "public/stylesheets/wireframe/images/2nd_nav_bg.gif",
      "public/stylesheets/wireframe/images/body_bg.gif",
      "public/stylesheets/wireframe/images/content_wrap_bg.gif",
      "public/stylesheets/wireframe/images/content_wrap_e_bg.gif",
      "public/stylesheets/wireframe/images/featurebox2_bg.gif",
      "public/stylesheets/wireframe/images/featurebox_bg.gif",
      "public/stylesheets/wireframe/images/header_bg.gif",
      "public/stylesheets/wireframe/images/sprites.gif",
      "public/stylesheets/wireframe/images/td_bg.gif",
      "public/stylesheets/wireframe/images/thumb_100wide.gif",
      "public/stylesheets/wireframe/main.css",
      "public/stylesheets/wireframe/print.css"].each do |file|
         m.file file, file
      end
      
      m.file( 'application_layout.html.erb', File.join('app/views/layouts', 'application.html.erb')) 
    end
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beef-layout-0.2.0 generators/layout_files/layout_files_generator.rb