Sha256: 0013b95870f6bf4f35a57338cc17af9e993cf12a375faed1c9445e648c2b841f

Contents?: true

Size: 418 Bytes

Versions: 14

Compression:

Stored size: 418 Bytes

Contents

class C2::InstallGenerator < Rails::Generators::Base
  source_root File.expand_path('../../../../', __FILE__)
  desc "Configure your app to work with C2."

  def cache_js
    directory "public/javascripts/c2", "public/javascripts/c2"
  end  

  def cache_css
    copy_file "public/stylesheets/c2.css", "public/stylesheets/c2.css"
  end

  def cache_images
    directory "public/images/c2", "public/images/c2"
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
c2-0.1.13 lib/generators/c2/install_generator.rb
c2-0.1.12 lib/generators/c2/install_generator.rb
c2-0.1.11 lib/generators/c2/install_generator.rb
c2-0.1.10 lib/generators/c2/install_generator.rb
c2-0.1.9 lib/generators/c2/install_generator.rb
c2-0.1.8 lib/generators/c2/install_generator.rb
c2-0.1.7 lib/generators/c2/install_generator.rb
c2-0.1.6 lib/generators/c2/install_generator.rb
c2-0.1.5 lib/generators/c2/install_generator.rb
c2-0.1.4 lib/generators/c2/install_generator.rb
c2-0.1.3 lib/generators/c2/install_generator.rb
c2-0.1.2 lib/generators/c2/install_generator.rb
c2-0.1.1 lib/generators/c2/install_generator.rb
c2-0.1.0 lib/generators/c2/install_generator.rb