Class: Notjustagrid::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Notjustagrid::Generators::InstallGenerator
- Defined in:
- lib/generators/notjustagrid/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_notjustagrid ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/generators/notjustagrid/install/install_generator.rb', line 9 def copy_notjustagrid say_status("copying", "Notjustagrid (#{Notjustagrid::NJAG_VERSION})", :green) say_status("copying", "stylesheets", :green) directory('stylesheets/src', 'public/stylesheets') # copy_file 'stylesheets/src/forms.css', 'public/stylesheets/notjustagrid/forms.css' # copy_file 'stylesheets/src/grid1200.css', 'public/stylesheets/notjustagrid/grid1200.css' # copy_file 'stylesheets/src/grid1380.css', 'public/stylesheets/notjustagrid/grid1380.css' # copy_file 'stylesheets/src/grid1500.css', 'public/stylesheets/notjustagrid/grid1500.css' # copy_file 'stylesheets/src/grid960.css', 'public/stylesheets/notjustagrid/grid960.css' # copy_file 'stylesheets/src/helpers.css', 'public/stylesheets/notjustagrid/helpers.css' # copy_file 'stylesheets/src/reset.css', 'public/stylesheets/notjustagrid/reset.css' # copy_file 'stylesheets/src/tables.css', 'public/stylesheets/notjustagrid/tables.css' # copy_file 'stylesheets/src/type.css', 'public/stylesheets/notjustagrid/type.css' # copy_file 'stylesheets/src/ux.css', 'public/stylesheets/notjustagrid/ux.css' say_status("copying", "images", :green) directory('images/notjustagrid', 'public/images/notjustagrid') end |