Sha256: bc5e17cd57c4900454d7b0e8d2cbc56e68671d43daed0bd88af268ade12daf32
Contents?: true
Size: 611 Bytes
Versions: 2
Compression:
Stored size: 611 Bytes
Contents
require 'rails' module Bootstrap module Generators class InstallGenerator < ::Rails::Generators::Base desc "Copy BootstrapGenerators default files" source_root File.expand_path('../templates', __FILE__) def copy_lib directory 'lib' end def create_layout template 'application.html.erb', 'app/views/layouts/application.html.erb' copy_file 'bootstrap-generators.css.scss', 'app/assets/stylesheets/bootstrap-generators.css.scss' copy_file 'bootstrap-generators.js', 'app/assets/javascripts/bootstrap-generators.js' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bootstrap-generators-0.0.5 | lib/generators/bootstrap/install/install_generator.rb |
bootstrap-generators-0.0.4 | lib/generators/bootstrap/install/install_generator.rb |